Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ALex
 
Posts: n/a
Default SUM if with 3 criteria


For some reason the
--(Input!$K$2:$K$1000=$J$18),
Criteria doesn't work?

I've used the following formula:

=SUMPRODUCT(--(Input!$G$2:$G$1000=$J$19),--(Input!$K$2:$K$1000=$J$18),--(Input!$A$2:$A$1000=A21)*Input!$E$2:$E$1000)

Could it be that the cells in Input!K2:K1000 column have formulas in them?

Help Please?
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi Alex

bascially, i can't see any reason why this wouldn't work... if you just do a
=COUNTIF(Input!$K$2:$K$1000,$J$18)
do you get a value =1 and is that on the same line where all the other
criteria are true?

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"ALex" wrote in message
...

For some reason the
--(Input!$K$2:$K$1000=$J$18),
Criteria doesn't work?

I've used the following formula:

=SUMPRODUCT(--(Input!$G$2:$G$1000=$J$19),--(Input!$K$2:$K$1000=$J$18),--(Input!$A$2:$A$1000=A21)*Input!$E$2:$E$1000)

Could it be that the cells in Input!K2:K1000 column have formulas in them?

Help Please?



  #3   Report Post  
Alan
 
Posts: n/a
Default

SUMPRODUCT works OK with the results of formulas, is it returning an
incorrect result or an error? I notice you have brackets missing in the
formula posted, is that a typo?
=SUMPRODUCT(--(Input!$G$2:$G$1000=$J$19),--(Input!$K$2:$K$1000=$J$18),--(Input!$A$2:$A$1000=A21)*(Input!$E$2:$E$1000))
alas, unchecked I'm not sure if you can mix the(--( way of doing it with the
* way,
=SUMPRODUCT(--(Input!$G$2:$G$1000=$J$19),--(Input!$K$2:$K$1000=$J$18),--(Input!$A$2:$A$1000=A21),--(Input!$E$2:$E$1000)
or
=SUMPRODUCT((Input!$G$2:$G$1000=$J$19)*(Input!$K$2 :$K$1000=$J$18)*(Input!$A$2:$A$1000=A21)*(Input!$E $2:$E$1000))
Regards,


"ALex" wrote in message
...

For some reason the
--(Input!$K$2:$K$1000=$J$18),
Criteria doesn't work?

I've used the following formula:

=SUMPRODUCT(--(Input!$G$2:$G$1000=$J$19),--(Input!$K$2:$K$1000=$J$18),--(Input!$A$2:$A$1000=A21)*Input!$E$2:$E$1000)

Could it be that the cells in Input!K2:K1000 column have formulas in them?

Help Please?



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
Max value that meets a criteria David Burr Excel Worksheet Functions 6 February 16th 05 01:31 PM
Can I get the mode, min, and max with multiple criteria? BobT Excel Discussion (Misc queries) 1 February 15th 05 03:20 AM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM
"criteria" in a sumif refering to the value in another cell mark Excel Discussion (Misc queries) 1 January 31st 05 07:39 PM
Can I use a cell reference in the criteria for the sumif function. Number Cruncher Excel Worksheet Functions 2 November 4th 04 07:52 PM


All times are GMT +1. The time now is 06:31 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"