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  

Calculation on SUMIF Results



 
 
Thread Tools Display Modes
  #1  
Old October 8th, 2005, 12:08 PM
Andy B
external usenet poster
 
Posts: n/a
Default Calculation on SUMIF Results

Hi all,

I have a bit of a proble, I want to perform a rate calculation on the
results of a sumif i.e.

Customer Currency Rate value
1 USD 1 500
2 GBP .7 700
3 GBP .71 750
4 GBP .72 700

So I want to get the native currency for all GBP paying customers but the
rates are different so I cant just divide the rate at the end, it needs to be
done on the fly. This problem is on a standard report so I can't just convert
all the values on a separate column and do the sumif on the results.

Any Ideas would be v helpful
  #2  
Old October 8th, 2005, 12:37 PM
Ron Rosenfeld
external usenet poster
 
Posts: n/a
Default

On Sat, 8 Oct 2005 04:08:02 -0700, Andy B
wrote:

Hi all,

I have a bit of a proble, I want to perform a rate calculation on the
results of a sumif i.e.

Customer Currency Rate value
1 USD 1 500
2 GBP .7 700
3 GBP .71 750
4 GBP .72 700

So I want to get the native currency for all GBP paying customers but the
rates are different so I cant just divide the rate at the end, it needs to be
done on the fly. This problem is on a standard report so I can't just convert
all the values on a separate column and do the sumif on the results.

Any Ideas would be v helpful


I'm not sure exactly what you are trying to do, but perhaps SUMPRODUCT would
work:

=SUMPRODUCT(rate,value)

or perhaps

=SUMPRODUCT(1/rate,value)


--ron
  #4  
Old October 9th, 2005, 04:47 AM
Ashish Mathur
external usenet poster
 
Posts: n/a
Default

Hi,

Here is another way to do it using sumproduct and an array formula. I would
still advise ehat you use Sandy's solution. Nevertheless i am proposing this
so that you can know about array formulas

Press Ctrl+Shift+Enter

=SUMPRODUCT(IF($E$4:$E$6="GBP",F4:F6*G4:G6))

F4:F6 - rate column
G4:G6 - Value column

Regards,

Ashish Mathur


"Andy B" wrote:

Hi all,

I have a bit of a proble, I want to perform a rate calculation on the
results of a sumif i.e.

Customer Currency Rate value
1 USD 1 500
2 GBP .7 700
3 GBP .71 750
4 GBP .72 700

So I want to get the native currency for all GBP paying customers but the
rates are different so I cant just divide the rate at the end, it needs to be
done on the fly. This problem is on a standard report so I can't just convert
all the values on a separate column and do the sumif on the results.

Any Ideas would be v helpful

 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to group and count results of calculation shep Running & Setting Up Queries 12 June 27th, 2006 11:50 AM
Variable for holding a calculation for a text box patentinv General Discussion 3 October 9th, 2005 01:23 PM
SUMIF function in "Price quote with tax calculation" templae Peter Worksheet Functions 6 October 3rd, 2005 07:18 PM
Equity buildup calculation JimDandy Worksheet Functions 5 September 6th, 2005 05:57 PM
How to use SUMIF to return sums between two values located in cells ScottBerger Worksheet Functions 1 November 18th, 2004 07:09 PM


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