LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Sumproduct on multiple "or" conditions

Thanks, that works the best. I have multiple conditions, so the prior does
not work.

"Harlan Grove" wrote:

"Rick Rothstein (MVP - VB)" wrote...
....
=SUMPRODUCT((ID={1340,5450})*Amount)


Which is the best way to do it in this case since ID could only equal one or
the other. More generally, multiple OR conditions could be true, in which
case you'd need

=SUMPRODUCT(--((Condition1)+(Condition2)+...+(ConditionN)0),val ues)



 
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
Sumproduct, multiple conditions.. but I also want to "minus" somet Jeffa Excel Worksheet Functions 4 June 15th 07 08:37 AM
SUMPRODUCT(--ISNUMBER(FIND("AM",C5:160))*(k5:k160="") redneck joe Excel Discussion (Misc queries) 5 August 18th 06 08:31 PM
Sumproduct-multiple criteria for same range "OR" Deeds Excel Worksheet Functions 3 May 18th 06 04:43 PM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Please, need help with multiple "if" conditions Ron M. Excel Discussion (Misc queries) 5 October 21st 05 08:24 PM


All times are GMT +1. The time now is 12:49 AM.

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

About Us

"It's about Microsoft Excel"