Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Multiple "if" criteria
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 -- Message posted via http://www.officekb.com |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Multiple "if" criteria
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" wrote in message ... 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 -- Message posted via http://www.officekb.com |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Multiple "if" criteria
Have you tried CountIF or SumIF?
JJ (UK) "John W bird via OfficeKB.com" wrote in message ... 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 -- Message posted via http://www.officekb.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
"search" a different sheet with multiple criteria | Excel Worksheet Functions | |||
Satisfying Multiple Criteria in an "IF" Function | Excel Worksheet Functions | |||
i have about 100 worksheets, how do i "lookup" multiple criteria | Excel Discussion (Misc queries) | |||
Sumproduct-multiple criteria for same range "OR" | Excel Worksheet Functions | |||
"sumif" With Multiple Criteria! | Excel Worksheet Functions |