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

merged cells in excel

$
0
0

when I import the data from excel into MS SQL, i got the following rows in the DB.In excel row2 to row4: field1 merged and row5 & rows6:field1 merged. Now, I want to replace the null values with row2 field1 value in row3, row4 field1, similaryly row4 field1 value in row6 field.

row1 - field1 field2 field3

row2-   abc      b       c

row3-   null     d       e

row4-   null     f         g

row5-    def     i          j

row6-    null    k        l

Finally it should look like this...

row1 - field1 field2 field3

row2-   abc      b       c

row3-   abc      d       e

row4-   abc      f         g

row5-    def     i          j

row6-    def     k        l


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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