I just did a Group Subtotal. How do I fill all the blank cells in a column with the information in the cell above it without going to every individual cell?
I just did a Group Subtotal. How do I fill all the blank cells in a column with the information in the cell above it without going to every individual cell?
Last edited by sj2487; 08-31-2009 at 05:04 PM.
1) Select the full range of cells with blanks
2) Press F5 and click on Special
3) Select Blanks and click on OK
4) Press the equal key: =
5) Press the Up Arrow once
6) Press CTRL-ENTER
You have the values but they are formulas. To remove the formulas
7) Select the full range again
8) Press CTRL-C to copy
9) Select Edit > Paste Special > Values
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
Here's one approach...
With A2:A10 containing a mix of text and blanks
Try this:
While only the blank cells are selected:![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Now each (formerly) blank cell displays that previous value from above.
To hardcode them:Does that help?![]()
Please Login or Register to view this content.
Can you post a sample workbook that exhibits your scenario?
It should read
...Type: =
...Hold down the CTRL and Press the UP ARROW one time
...Hold down CTRL and Press ENTER
Does that work for you?
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
Thank you. I discovered that the workbook I am using has something that is preventing it because when used in another workbook it works.
Thank you.![]()
Actually, no....
Typing: = begins a formula
Pressing the UP arrow references the cell directly above the current cell.
CTRL-ENTER puts that formula into every selected blank cell.
Holding down CTRL when pressing the UP arrow would reference the first non-blank cell above the current cell. If that cell was 10 cells up from the current cell...every selected blank cell would reference a cell 10 cells up.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks