Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-12-2017, 03:01 PM
RayK RayK is offline filling in blank cells with data from cell above Mac OS X filling in blank cells with data from cell above Office for Mac 2011
Novice
filling in blank cells with data from cell above
 
Join Date: Feb 2016
Posts: 5
RayK is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old 01-12-2017, 04:14 PM
jeffreybrown jeffreybrown is offline filling in blank cells with data from cell above Windows Vista filling in blank cells with data from cell above Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Try this...

Fill range with values from cell above
  • Highlight range from first cell to last
  • Select F5 >> Special >> Blanks >> OK
  • Press “=” sign one time then up arrow one time
  • Press Ctrl + Enter
  • Highlight range >> copy >> paste special as value
Reply With Quote
Reply

Tags
fill the gaps, sort



Similar Threads
Thread Thread Starter Forum Replies Last Post
filling in blank cells with data from cell above 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
filling in blank cells with data from cell above 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
filling in blank cells with data from cell above How to organize and insert blank cells between a huge number of data? tareq Excel 12 09-29-2010 02:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:00 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft