Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"search" a different sheet with multiple criteria Art Excel Worksheet Functions 2 March 10th 10 08:11 PM
Satisfying Multiple Criteria in an "IF" Function Jerry B Smith Excel Worksheet Functions 1 March 6th 09 05:16 PM
i have about 100 worksheets, how do i "lookup" multiple criteria kp0250 Excel Discussion (Misc queries) 8 July 27th 08 06:25 PM
Sumproduct-multiple criteria for same range "OR" Deeds Excel Worksheet Functions 3 May 18th 06 04:43 PM
"sumif" With Multiple Criteria! via135 Excel Worksheet Functions 3 January 19th 06 01:18 AM


All times are GMT +1. The time now is 02:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"