#1
|
|||
|
|||
filling in blank cells with data from cell above
Hello,
I have a master customer list. In Column A lists the customer name, Column B part number, Column C part description etc. I want to sort on the customer name. The problem is the spreadsheet has grown over time and when it was first created the customer name was only entered once into column A. Orders where listed in column b, row1, then row2, then row 3 etc. The customer name wasn't copied and paste down into the rows below it. If the xls was small I would manually copy and paste into the missing rows, then I can sort on customer name. However the xls is 30000 lines long so I want a formula to copy down the name from the row above until it finds a cell that has text in it. then I want to copy this name down for all blank cells below it until the next cell with text in it. i want to repeat this for the entire column. any ideas? In short, the text in cell A1 should be copied into cell A2 if cell 2 is empty. then the text in cell A2 should be copied into cell A3 if cell A3 is empty until if finds a cell that isn't blank. the contents of this cell (which will be different from the cells above it) should be copied down into the cell below it (if its empty) etc. this process should be repeated. |
#2
|
|||
|
|||
Try this...
Fill range with values from cell above
|
Tags |
fill the gaps, sort |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any way to ignore neighboring cell while ignoring blank cells in SUMPRODUCT? | dominicrudin | Excel | 1 | 01-08-2017 10:38 AM |
Wierd... "cell" started auto filling with data from other cells I double click on. How stop it?! | KerryOn | Excel | 2 | 08-10-2015 08:41 PM |
matching data from one work sheet to another, then auto filling missing cell information | timomaha | Excel | 1 | 09-12-2014 07:51 AM |
How to populate cells in Sheet2 with Data Source query using cell data from Sheet1 | bobznkazoo | Excel | 2 | 03-27-2014 11:14 AM |
How to organize and insert blank cells between a huge number of data? | tareq | Excel | 12 | 09-29-2010 02:12 PM |