I have MS Excel 2007 document where i have many blank lines between data. i want that if there are more than one blank lines then all others are deleted but only one blank line is left
|
feedback
|
|
Below is one solution that you can use to automatically eliminate blank lines. From Excel 2007: Eliminate Blank Rows in a Spreadsheet
| |||
|
feedback
|
|
You could try the following: * create a new column (I call it A in the following) * enter numbers 1,2,3 .. in the cells of that column. So this is basically a rownumbr * create another column (I'll call it B) * fill the column with a little function: returning the value of A in the same row, when the row above is not empty or the own row is not empty, and a huge number otherwise. (huge must be bigger then the number of rows you have, including all blanks) * Now sort the complete sheet by column B. the double blank rows should be at the end of the sheet, while everything else is unchanged. * remove the columns A + B | |||
|
feedback
|