LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 177
Default Sum Data in Col B, Add % of Total Col C, Add Rolling % of Total Co

Another challenge for a noob like me:

I start out with this, with the headers at Row 6:

Security Value
Apples 10
Oranges 45
Dates 5
Pears 20
Weebles 1
Wobbles 1
MMA 1
MMB 3
MMC 1


Security Value % of Total % Rolling
Apples 10 11.5% 11.5%
Oranges 45 51.7% 63.2%
Dates 5 5.7% 69.0%
Pears 20 23.0% 92.0%
Other 2 2.2% 94.3%
MM 5 5.7% 100.0%

Total 87

I tried to do this on my own but failed. Here is what is tricky about this
request:

1) Preference to insert formulas rather than to calculate and insert actual
values -- I may have to add or delete data once the macro is one and leaving
formulas in will provide me with that required flexibility.

2) Add the sum of Column B total at the bottom.

3) There are a few cells that I have to add together and consolidate into
one cell (MMA, MMB, MMC) and labled "MM." This resulting summed figure
should be hard-coded.

These cells actually go by different names and sometimes there are
differently labeled cells that I have to consolidate. Ideally I can edit the
macro to lookup cells that contain certain words (e.g., MMA, MMD, MMZ, MMF,
MMJ) and consolidate into one cell and with one label "MM".

4) Values less than 2% of the total value should be consolidated into one
figure and labled "Other."

This is a tough one. A macro I attempted to createy got derailed after
summing column B (I obviously didn't get too far).

Thanks very much for generously offering your time...
 
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
Rolling 12 month total MH Excel Worksheet Functions 7 June 29th 09 06:52 PM
Rolling running total by date AOU Excel Discussion (Misc queries) 7 May 30th 07 12:44 AM
sum of rolling (set number cells above the total)l Ohmer4j Excel Discussion (Misc queries) 4 March 30th 07 09:48 PM
12 month Rolling Total Need Help Excel Worksheet Functions 0 September 22nd 06 03:19 PM
Adding Data Using Multiple Worksheets to Total into a Grand Total Lillie Excel Worksheet Functions 1 April 19th 05 08:34 PM


All times are GMT +1. The time now is 06:00 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"