Solved

filling in data until data breaks

Posted on 2013-01-29
2
181 Views
Last Modified: 2013-01-29
Please see the attached document.  I am hoping to come up with a more automated way of filling in data gaps in a spreadsheet.  It's an abbreviated version of a much large spreadsheet, but I drew some arrows in there explaining what i would like to be able to do.
Basically column A has heading data but when the heading data is the same for the next row of data the headings drop of the subsequent rows, but I need it to fill in. Currently I am going through and copying the cell contents down until i get to the next data set, but I am not sure I will live long enough to do it this way. LOL

Thanks
Book1.xlsx
0
Comment
Question by:wcody
  • 2
2 Comments
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 38831994
Without a macro

Select the column A range
press F5
Click on special
Select blanks
Click OK
type   =
from the keyboard move the cursor one cell up
press ctrl-enter
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 38832009
Here is a macro if you wish

Sub fillwithuppercells()
ActiveSheet.UsedRange.Columns(1).SpecialCells(xlCellTypeBlanks).FormulaR1C1 = "=r[-1]c"
End Sub
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
In-place Upgrading Dirsync to Azure AD Connect
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question