#1   Report Post  
PhilGTI
 
Posts: n/a
Default Sumproduct ??

Ive used this formula successfully
=SUMPRODUCT(--(I1:I18="GTB1"),--(J1:J18=0))

What I would like to do is look for GTB1 and LOB1 in column I
I tried
=SUMPRODUCT(--(I1:I18={"GTB1","LOB1"}),--(J1:J18=0))

But it didnt work, it returned #value!
Thanks for your help.

  #2   Report Post  
kk
 
Posts: n/a
Default

Try

=SUMPRODUCT(--(I1:I18={"GTB1","LOB1"})*--(J1:J18=0))



"PhilGTI" wrote in message
...
I've used this formula successfully
=SUMPRODUCT(--(I1:I18="GTB1"),--(J1:J18=0))

What I would like to do is look for "GTB1" and "LOB1" in column I
I tried
=SUMPRODUCT(--(I1:I18={"GTB1","LOB1"}),--(J1:J18=0))

But it didn't work, it returned #value!
Thanks for your help.


  #3   Report Post  
Domenic
 
Posts: n/a
Default

Try...

=SUMPRODUCT((I1:I18={"GTB1","LOB1"})*(J1:J18=0))

or

=SUMPRODUCT(--(ISNUMBER(MATCH(I1:I18,{"GTB1","LOB1"},0))),--(J1:J18=0))

Hope this helps!

In article ,
"PhilGTI" wrote:

Ive used this formula successfully
=SUMPRODUCT(--(I1:I18="GTB1"),--(J1:J18=0))

What I would like to do is look for GTB1 and LOB1 in column I
I tried
=SUMPRODUCT(--(I1:I18={"GTB1","LOB1"}),--(J1:J18=0))

But it didnt work, it returned #value!
Thanks for your help.

  #4   Report Post  
PhilGTI
 
Posts: n/a
Default

Thanks!

"Domenic" wrote:

Try...

=SUMPRODUCT((I1:I18={"GTB1","LOB1"})*(J1:J18=0))

or

=SUMPRODUCT(--(ISNUMBER(MATCH(I1:I18,{"GTB1","LOB1"},0))),--(J1:J18=0))

Hope this helps!

In article ,
"PhilGTI" wrote:

Iâve used this formula successfully
=SUMPRODUCT(--(I1:I18="GTB1"),--(J1:J18=0))

What I would like to do is look for âœGTB1❠and âœLOB1❠in column I
I tried
=SUMPRODUCT(--(I1:I18={"GTB1","LOB1"}),--(J1:J18=0))

But it didnât work, it returned #value!
Thanks for your help.


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
Sumproduct Peter B Excel Worksheet Functions 1 March 7th 05 01:59 PM
sumproduct causing memory errors? dave Excel Worksheet Functions 1 March 3rd 05 09:31 AM
Can I reference =, <, or > sign in SUMPRODUCT BobT Excel Discussion (Misc queries) 7 February 16th 05 01:58 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


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