Multiple "if" criteria

  • Thread starter Thread starter John W bird via OfficeKB.com
  • Start date Start date
J

John W bird via OfficeKB.com

I am trying to create a formula to search for 2 different criteria in say the Ranges 1-100 in Columns A & B and then to add up data in Column C that is applicable to the identified criteria in Column B.

I should be most grateful for the answer and also is it possible to do the same exercise with a third criteria?

John
 
Not sure how you define the addujp part, but you could call sumproduct feom
vba

myVal =
Evaluate("SUMPRODUCT((A1:A100=""val1"")*(B1:B100=""val2"")*V1:C100)")

--

HTH

RP
(remove nothere from the email address if mailing direct)


John W bird via OfficeKB.com said:
I am trying to create a formula to search for 2 different criteria in say
the Ranges 1-100 in Columns A & B and then to add up data in Column C that
is applicable to the identified criteria in Column B.
I should be most grateful for the answer and also is it possible to do the
same exercise with a third criteria?
 
Have you tried CountIF or SumIF?

JJ (UK)

John W bird via OfficeKB.com said:
I am trying to create a formula to search for 2 different criteria in say
the Ranges 1-100 in Columns A & B and then to add up data in Column C that
is applicable to the identified criteria in Column B.
I should be most grateful for the answer and also is it possible to do the
same exercise with a third criteria?
 

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