Getting rid of helping columns

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using the formula =IF(purchaser=name at top of column,SUM(purchase
amount),0) in XL 2003 to find the expences of each person and placing that
amount in a column to be sumed at the bottom. I then use that total to
calculate costs and comissions. I have no need to see the list of purchases
under each name but I don't know how to test each purchase for a name and add
that to other purchases without a helping column. Is there some way to get
around this?

thanks, paul
 
I am using the formula =IF(purchaser=name at top of column,SUM(purchase
amount),0) in XL 2003 to find the expences of each person and placing that
amount in a column to be sumed at the bottom. I then use that total to
calculate costs and comissions. I have no need to see the list of purchases
under each name but I don't know how to test each purchase for a name and add
that to other purchases without a helping column. Is there some way to get
around this?

thanks, paul


Sounds like you need SUMIF

With purchaser in A2:A100, amounts in B2:B100, and purchaser name in
A1

SUMIF(A2:A100,A1,B2:B100)

HTH
__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
 

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

Back
Top