#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 184
Default Subtotal

Can anyone tell me if there is a macro that will fill all blank cells in the
subtotal line based on the information above the subtotal line?

I need to get the blank cells to include the information in the cell above
the subtotal line because I will be sending files out to Sales folks. Pivots
will not work because I think they will not be able to work with it. The end
result is to subtotal but my challenge is that I will need to add details on
the subtotal line - right now all is gives me is the total lines which is
what it's suppose to do. If anyone can help me that would be great.

Something like: fill every blank cell within the region with the contents of
the cell above

Thanks so much.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 272
Default Subtotal

Select the column then try one of these:

Toolsoptionsgeneral: R1C1 reference style then edit replace blank with
"r[1]c"

or... press F5SpecialBlanks and type = then press down arrow then enter

Restore settings and copy and paste special values after to remove formulas.

"Nikki" wrote:

Can anyone tell me if there is a macro that will fill all blank cells in the
subtotal line based on the information above the subtotal line?

I need to get the blank cells to include the information in the cell above
the subtotal line because I will be sending files out to Sales folks. Pivots
will not work because I think they will not be able to work with it. The end
result is to subtotal but my challenge is that I will need to add details on
the subtotal line - right now all is gives me is the total lines which is
what it's suppose to do. If anyone can help me that would be great.

Something like: fill every blank cell within the region with the contents of
the cell above

Thanks so much.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 272
Default Subtotal

Sorry there was a typo, replacement should be: "=r[1]c"

"Nikki" wrote:

Can anyone tell me if there is a macro that will fill all blank cells in the
subtotal line based on the information above the subtotal line?

I need to get the blank cells to include the information in the cell above
the subtotal line because I will be sending files out to Sales folks. Pivots
will not work because I think they will not be able to work with it. The end
result is to subtotal but my challenge is that I will need to add details on
the subtotal line - right now all is gives me is the total lines which is
what it's suppose to do. If anyone can help me that would be great.

Something like: fill every blank cell within the region with the contents of
the cell above

Thanks so much.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Subtotal

If you press F5 (GoTo) and then click Special you will be presented with a
series of options - click on Current Region. Then press F5 again, Special,
and now click Blanks - only the blanks will be highlighted.

(The following bit isn't really needed, but it might help you to identify
what you have done later on - click on the Foreground colour icon, and
choose something like Blue. You might also want to set a background colour
to pale yellow, for example).

Begin to enter a formula by typing =, then use the mouse to click on the
cell immediately above the active cell, and then do CTRL-Enter.

This should give you what you asked for, and it will be nicely colour-coded
so that you can see where the subtotal rows are.

Hope this helps.

Pete

"Nikki" wrote in message
...
Can anyone tell me if there is a macro that will fill all blank cells in
the
subtotal line based on the information above the subtotal line?

I need to get the blank cells to include the information in the cell above
the subtotal line because I will be sending files out to Sales folks.
Pivots
will not work because I think they will not be able to work with it. The
end
result is to subtotal but my challenge is that I will need to add details
on
the subtotal line - right now all is gives me is the total lines which is
what it's suppose to do. If anyone can help me that would be great.

Something like: fill every blank cell within the region with the contents
of
the cell above

Thanks so much.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I Subtotal, then Sort by Subtotal Amounts? dnamertz Excel Discussion (Misc queries) 3 October 29th 06 12:17 AM
pasting to subtotal lines without replacing hidden -non-subtotal l harleydiva67 Excel Discussion (Misc queries) 1 October 12th 06 06:02 PM
Bolding the subtotal lines automaticlly When using the Subtotal fu 06Speed6 New Users to Excel 2 October 5th 06 03:52 PM
copy subtotal value only, subtotal value can be vlookup by others BB Excel Discussion (Misc queries) 1 June 28th 06 11:10 PM
Subtotal of Subtotal displays Grand Total in wrong row Thomas Born Excel Worksheet Functions 5 January 6th 05 01:46 PM


All times are GMT +1. The time now is 07:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"