Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Pulling Data from excel source into oledb destination by separating null rows

$
0
0

Hi I am trying to pull data from a man made excel sheet into the SQL tables.

This is macro enabled excel 2010 spreed sheet.

The chanllenges I am facing right know are :

1. To get ride of the side headings.

Example:

GROSS   MARGIN - ALL SOURCES705,970 307,694 1,013,664 524,777 560,309 554,787
      
RATE RELATED EXPENSES:      
OTHER COMPENSATION13,192 15,126 28,318 15,500 15,500 15,500

In the above example I need to get ride of the sub heading RATE RELATED EXPENSES,  there are bunch of side headings like this if I go down the excel.

2. There are blank rows in between the rows, so i am trying to get ride of the blank rows and pull only the rows with data. For this I am using follwoing expression in the Conditional Format expression:

 If use the above expression I an only getting one row and I am suppose to get around 56 rows.

3. The last thing (actually 2 and this point are related) is there are null values in columns in between the rows with data and I need to preserve this or can replace with "0" (zeros).

I was using the above expression in the conditional split so the rows with null valued columns are also filtered. How do I solve this tasks

Example:

Thank You

     
     
  


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>