ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   sum (https://www.excelbanter.com/excel-worksheet-functions/138690-sum.html)

emmcee

sum
 
I need a formula for the sum of one column values (in three parts) subject to
conditions in another column.

column A conditionals are : sgd or usd or rp or blank, where blank is to be
read as "rp" . These are currency identifiiers.

column B is one list containing all the different currency values.

The objective is to get three (3) totals at the end of column B : sgd xxxxxxx

usd xxxxxxx

rp xxxxxxxxx
"sumif" doesn't seem to be the answer.
would be grateful for any guidance/solution to this question.

Anne Troy[_2_]

sum
 
Try something like this for the sgd and usd:
="USD "&SUMIF(A:A,"USD",B:B)
="SGD "&SUMIF(A:A,"SGD",B:B)
Try this for the RP/blank:
="RP "&SUMIF(A:A,"RP",B:B)+SUMIF(A:A,"",B:B)

****************************
Hope it helps!
Anne Troy
www.OfficeArticles.com
****************************
"emmcee" wrote in message
...
I need a formula for the sum of one column values (in three parts) subject
to
conditions in another column.

column A conditionals are : sgd or usd or rp or blank, where blank is to
be
read as "rp" . These are currency identifiiers.

column B is one list containing all the different currency values.

The objective is to get three (3) totals at the end of column B : sgd
xxxxxxx

usd xxxxxxx

rp xxxxxxxxx
"sumif" doesn't seem to be the answer.
would be grateful for any guidance/solution to this question.




emmcee

sum
 
That worked just fine.
Many thanks
Mike

"Anne Troy" wrote:

Try something like this for the sgd and usd:
="USD "&SUMIF(A:A,"USD",B:B)
="SGD "&SUMIF(A:A,"SGD",B:B)
Try this for the RP/blank:
="RP "&SUMIF(A:A,"RP",B:B)+SUMIF(A:A,"",B:B)

****************************
Hope it helps!
Anne Troy
www.OfficeArticles.com
****************************
"emmcee" wrote in message
...
I need a formula for the sum of one column values (in three parts) subject
to
conditions in another column.

column A conditionals are : sgd or usd or rp or blank, where blank is to
be
read as "rp" . These are currency identifiiers.

column B is one list containing all the different currency values.

The objective is to get three (3) totals at the end of column B : sgd
xxxxxxx

usd xxxxxxx

rp xxxxxxxxx
"sumif" doesn't seem to be the answer.
would be grateful for any guidance/solution to this question.






All times are GMT +1. The time now is 05:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com