Conditional Formula?

R

rhovey

Hi- I need help creating a formula that sums values in a list based on
the value in an adjacent cell. Please see attached screen shot.
Hopefully it explains what I'm trying to do.

Thanks.


+-------------------------------------------------------------------+
|Filename: excel help 3-10-06.gif |
|Download: http://www.excelforum.com/attachment.php?postid=4442 |
+-------------------------------------------------------------------+
 
S

SteveG

Sounds like you could use SUMPRODUCT or SUMIF to get what you want.

Say your cash/lease drop downs are in column A. Where you want your
cash total you could use,

=SUMPRODUCT(--(A1:A100="Cash"),--(B1:B100))

For lease

=SUMPRODUCT(--(A1:A100="Lease),--(B1:B100))

or

=SUMIF(A1:A100,"Cash",B1:B100)

=SUMIF(A1:A100,"Lease",B1:100)


Does that help?

Steve
 

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