need formula help

  • Thread starter Thread starter jimmy
  • Start date Start date
J

jimmy

I am trying to add mileage for different categories (Charity, Business,
Medical, and Research). Please see this:

http://picasaweb.google.com/jimmy5280/Public/photo#4985951438772699154

How do I get the results in Column G by adding up the Mileage (Column
D). For example, I want a formula that will search through Column A for
"Charity" and know to add cells D14, D16 and D19 resulting in the sum
of "60" in cell G3?

Thanks,
Jimmy
 
Should be able to make good use of the SUMIF() function. For the first one,
in G3, try
=SUMIF(A11:A21,"Charity",D11:D21)
repeat exactly the same for the next three, just change "charity" to
"business", "medical" and "research" as appropriate.

See Excel HELP on SUMIF() for a detailed explanation if it's not obvious to
you what's going on.
 

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

Similar Threads

Summing dynamic range 7
Help needed 0
Overwriting a cell with a formula without deleting the formula 1
VLOOKUP Macro? 3
Excell formula. 4
Payment calculation 1
Formula Help 2
Excel Need Countifs Formula Help 0

Back
Top