LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 915
Default multiple if conditions - use sumif/sumProduct?

Joel wrote:
rirst you shouldn't have a plus sign in the formula it should be another
asterisk.

from
=SUM(IF(($M1189:$M1316="exp")*($E1189:$E1316="D")+ ($E1189:$E1316="M"),$F1189:$F1316))
to
=SUM(IF(($M1189:$M1316="exp")*($E1189:$E1316="D")* $E1189:$E1316="M"),$F1189:$F1316))


Sure?

($E1189:$E1316="D")*$E1189:$E1316="M"

imposes mutually exclusive conditions that will always be FALSE. The OP
stated column E could contain "D" OR "M".

Nevermind the unmatched parens.
 
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
SUMIF w/multiple conditions lightstation67 Excel Discussion (Misc queries) 5 April 14th 10 11:44 PM
sumif or sumproduct multiple conditions joe@malvern[_2_] Excel Discussion (Misc queries) 0 March 23rd 09 10:10 PM
Multiple Sumif conditions Alcala Excel Worksheet Functions 2 August 18th 08 05:30 PM
sumif with multiple conditions myl Excel Worksheet Functions 1 July 8th 08 09:35 PM
SUMPRODUCT or INDEX/MATCH for multiple conditions and multiple rec TravisB Excel Discussion (Misc queries) 21 March 16th 07 09:49 PM


All times are GMT +1. The time now is 04:25 PM.

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"