A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formula request



 
 
Thread Tools Display Modes
  #1  
Old September 14th, 2006, 03:16 AM posted to microsoft.public.excel.worksheet.functions
~~~AAA~~~
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  
Old September 14th, 2006, 05:05 AM posted to microsoft.public.excel.worksheet.functions
Biff
external usenet poster
 
Posts: 1,559
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)




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:20 AM.


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