sum

E

emmcee

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.
 
A

Anne Troy

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
****************************
 
E

emmcee

That worked just fine.
Many thanks
Mike

Anne Troy said:
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
****************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top