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

I am trying to set up a formula each time the data changes in column A
without having to do it manually.

The formula would be using two other columns of data for the rows involved
with the same company.


e.g.

Column A Column Y

2 Company ABC

3 Company ABC

4 Company ABC =SUM(W2:W4)/SUM(R2:R4)

5 Company def

6 Company def

7 Company def

8 Company def =SUM(W5:W8)/SUM(R5:R8)

9 Company xyz

10Company xyz =SUM(W9:W10)/SUM(R9:R10)


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Formula request

Hi!

Try this:

Enter this formula in Y2:

=IF(A3=A2,"",SUMIF(A$2:A$10,A2,W$2:W$10)/SUMIF(A$2:A$10,A2,R$2:R$10))

Copy down as needed.

Biff

"~~~AAA~~~" wrote in message
...
I am trying to set up a formula each time the data changes in column A
without having to do it manually.

The formula would be using two other columns of data for the rows involved
with the same company.


e.g.

Column A Column Y

2 Company ABC

3 Company ABC

4 Company ABC =SUM(W2:W4)/SUM(R2:R4)

5 Company def

6 Company def

7 Company def

8 Company def =SUM(W5:W8)/SUM(R5:R8)

9 Company xyz

10Company xyz =SUM(W9:W10)/SUM(R9:R10)




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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
IF AND FORMULA REQUEST Tonto Excel Discussion (Misc queries) 5 August 4th 06 07:24 PM
Here is a simple formula request from a newb Darryl Excel Worksheet Functions 5 July 27th 06 08:51 PM
Request To Shorten A Formula Mhz New Users to Excel 9 July 13th 06 10:39 AM
Another Date Formula Request Qaspec Excel Worksheet Functions 1 January 21st 05 04:21 PM


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