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: 7
Default Code to calulate percent of total in column

Hello-

A5:A14 contain number values, and A15 is the total of these numbers. In
column B, I need to figure the percent of total for the numbers in
column A. For this example, B5 would = A5/A15, B6 would = A6/A15, etc,
etc.
The amount of rows in column A will change each time I run the report
so I need the code to start in B5 and fill down to the next to last
value in column as (since the last value is the total of column A). Any
help will be appreciated.

Scott

 
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
Calculating percent of times a value is in a column and total # clbritt76 Excel Worksheet Functions 2 March 26th 10 01:23 PM
I am trying to calulate total time Karl Excel Worksheet Functions 3 July 13th 06 09:41 PM
code for adding a '% of total' column overcanyon Excel Programming 0 December 19th 05 05:26 PM
Help required to code a '% of total' column overcanyon Excel Programming 1 December 19th 05 02:17 PM
VB code to total up a column as the value change on another Fernando[_2_] Excel Programming 0 January 24th 05 07:33 PM


All times are GMT +1. The time now is 11:40 AM.

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

About Us

"It's about Microsoft Excel"