summing up contents on ceratin cells depending on selection criter

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

Guest

I have a worksheet with 4 columns an may rows. Column B and C have Lastname
(Column B) and First Name (Column C) in Column D I have a value lets say a
dollar amount. I would like to write a formula were I want to look for
"Smith" "Joe" and sum up the "Dollars". I can have many entries for "Smith
Joe".
I tried the sum with the If but does not seem to work.
 
Hi Charles,

Try this one:

=SUMPRODUCT((B1:B100&C1:C100="SmithJoe")*D1:D100)

or

=SUMPRODUCT((B1:B100="Smith")*(C1:C100="Joe")*D1:D100)

Regards,
KL
 

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

Sumif (sum if question) 5
WHAT IS THE RIGHT FUNCTION ? 3
SUM Char 9
Multiple lookups and SUM function 4
SUM - IF - AND 7
Having cells default to 0 2
Formula Help please 3
Sum Values from different column 1

Back
Top