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: 13
Default Macro adding a range of percentages

Hi,

I need to import data at end of month and add percentages/totals. The
problem is the length of the columns will be dynamic so I need to calculate a
range of cells for which percentages and totals are required (see below
example). The 'TYPE' column will cause the report to lengthen as new types
are encountered month to month. I need to determine the number of
percentage/total cells per TYPE and add/replace any existing cells in each
column (jan count column will lengthen if feb has more TYPEs, so I have to
re-populate cells for totals/percentages). How do I dynamically get the range
of TYPE cells and use to place new formulas in percentage/total columns?

TYPE TOTAL JAN COUNT JAN % FEB COUNT FEB %
Call back 15 5 33% 10
66%
Dispatch 20 10 50% 10
50%
....

 
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
adding percentages to cells autiemomtoo Excel Discussion (Misc queries) 5 March 14th 10 09:21 PM
Adding up percentages The Fool on the Hill Excel Discussion (Misc queries) 5 September 5th 07 03:40 PM
Adding percentages wghenry Excel Worksheet Functions 3 July 6th 07 04:07 PM
Adding percentages 0 Caractus Excel Discussion (Misc queries) 5 November 15th 06 01:54 PM
Adding Percentages Homer J Excel Discussion (Misc queries) 0 August 11th 05 09:27 AM


All times are GMT +1. The time now is 08:50 AM.

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"