Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Help with =SUMPRODUCT

Hello,

I am trying to use the =SUMPRODUCT formula but it does not seem to be
working. Not sure what I am doing wrong.

Here is an example of the data:

Adams, Wendy OD-Apple 6
Adams, Wendy OD-Orange 2.5
Adams, Wendy JD-Lemon 3
Adams, Wendy JD-Apple 8
Arment, Shannon JD-Cherry 25
Arment, Shannon OD-Orange 4
Arment, Shannon OD-Apple 2
Arment, Shannon JD-Blueberry 4
Baca, Ralph JD-Kiwi 4
Baca, Ralph JD-Lemon 1.5
Baca, Ralph JD-Cherry 8.5
Baca, Ralph JD-Grape 4
Baca, Ralph OD-Banana 1
Baca, Ralph OD-Apple 5
Borlan, Priscilla JD-Lemon 4
Borlan, Priscilla JD-Grape 8
Borlan, Priscilla OD-Orange 4
Borlan, Priscilla OD-Kiwi 4

Here is the formula I am trying to use:

=SUMPRODUCT((Practice!A1:A18=A1)*(Practice!B1:B18= "JD")*(Practice!C1:C18))

If whats in column A matches and column B has the letters "JD" in it then
sum up whats in column C.

I think my problem is that I am only searching for a portion of the text in
column B.

Can anyone help with this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Help with =SUMPRODUCT

You're looking for it to be equal to "JD", not a string containing "JD".
--
David Biddulph


"parkermazk" wrote in message
...
Hello,

I am trying to use the =SUMPRODUCT formula but it does not seem to be
working. Not sure what I am doing wrong.

Here is an example of the data:

Adams, Wendy OD-Apple 6
Adams, Wendy OD-Orange 2.5
Adams, Wendy JD-Lemon 3
Adams, Wendy JD-Apple 8
Arment, Shannon JD-Cherry 25
Arment, Shannon OD-Orange 4
Arment, Shannon OD-Apple 2
Arment, Shannon JD-Blueberry 4
Baca, Ralph JD-Kiwi 4
Baca, Ralph JD-Lemon 1.5
Baca, Ralph JD-Cherry 8.5
Baca, Ralph JD-Grape 4
Baca, Ralph OD-Banana 1
Baca, Ralph OD-Apple 5
Borlan, Priscilla JD-Lemon 4
Borlan, Priscilla JD-Grape 8
Borlan, Priscilla OD-Orange 4
Borlan, Priscilla OD-Kiwi 4

Here is the formula I am trying to use:

=SUMPRODUCT((Practice!A1:A18=A1)*(Practice!B1:B18= "JD")*(Practice!C1:C18))

If whats in column A matches and column B has the letters "JD" in it then
sum up whats in column C.

I think my problem is that I am only searching for a portion of the text
in
column B.

Can anyone help with this?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Help with =SUMPRODUCT

Hi,

Try this

=SUMPRODUCT((Practice!A1:A18=A1)*(--ISNUMBER(SEARCH("JD",Practice!B1:B18))=1)*(Practic e!C1:C18))
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"parkermazk" wrote:

Hello,

I am trying to use the =SUMPRODUCT formula but it does not seem to be
working. Not sure what I am doing wrong.

Here is an example of the data:

Adams, Wendy OD-Apple 6
Adams, Wendy OD-Orange 2.5
Adams, Wendy JD-Lemon 3
Adams, Wendy JD-Apple 8
Arment, Shannon JD-Cherry 25
Arment, Shannon OD-Orange 4
Arment, Shannon OD-Apple 2
Arment, Shannon JD-Blueberry 4
Baca, Ralph JD-Kiwi 4
Baca, Ralph JD-Lemon 1.5
Baca, Ralph JD-Cherry 8.5
Baca, Ralph JD-Grape 4
Baca, Ralph OD-Banana 1
Baca, Ralph OD-Apple 5
Borlan, Priscilla JD-Lemon 4
Borlan, Priscilla JD-Grape 8
Borlan, Priscilla OD-Orange 4
Borlan, Priscilla OD-Kiwi 4

Here is the formula I am trying to use:

=SUMPRODUCT((Practice!A1:A18=A1)*(Practice!B1:B18= "JD")*(Practice!C1:C18))

If whats in column A matches and column B has the letters "JD" in it then
sum up whats in column C.

I think my problem is that I am only searching for a portion of the text in
column B.

Can anyone help with this?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Help with =SUMPRODUCT

Try...

=SUMPRODUCT((Practice!A1:A18=A1)*(LEFT(Practice!B1 :B18,2)="JD")*(Practice!C1:C18))

or

=SUMPRODUCT(--(Practice!A1:A18=A1),--(LEFT(Practice!B1:B18,2)="JD"),Practice!C1:C18)

--
Domenic
Microsoft MVP - Excel
www.xl-central.com, "Your Quick Reference to Excel Solutions"

"parkermazk" wrote in message
...
Hello,

I am trying to use the =SUMPRODUCT formula but it does not seem to be
working. Not sure what I am doing wrong.

Here is an example of the data:

Adams, Wendy OD-Apple 6
Adams, Wendy OD-Orange 2.5
Adams, Wendy JD-Lemon 3
Adams, Wendy JD-Apple 8
Arment, Shannon JD-Cherry 25
Arment, Shannon OD-Orange 4
Arment, Shannon OD-Apple 2
Arment, Shannon JD-Blueberry 4
Baca, Ralph JD-Kiwi 4
Baca, Ralph JD-Lemon 1.5
Baca, Ralph JD-Cherry 8.5
Baca, Ralph JD-Grape 4
Baca, Ralph OD-Banana 1
Baca, Ralph OD-Apple 5
Borlan, Priscilla JD-Lemon 4
Borlan, Priscilla JD-Grape 8
Borlan, Priscilla OD-Orange 4
Borlan, Priscilla OD-Kiwi 4

Here is the formula I am trying to use:

=SUMPRODUCT((Practice!A1:A18=A1)*(Practice!B1:B18= "JD")*(Practice!C1:C18))

If whats in column A matches and column B has the letters "JD" in it then
sum up whats in column C.

I think my problem is that I am only searching for a portion of the text
in
column B.

Can anyone help with this?


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Help with =SUMPRODUCT

Hi,

I should have added that this bit of the formula ensures it will only count
JD at the start of the string

(--ISNUMBER(SEARCH("JD",Practice!B1:B18))=1)

If you want to count JD anywhere in the string you can use

(ISNUMBER(SEARCH("JD",Practice!B1:B18)))
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Mike H" wrote:

Hi,

Try this

=SUMPRODUCT((Practice!A1:A18=A1)*(--ISNUMBER(SEARCH("JD",Practice!B1:B18))=1)*(Practic e!C1:C18))
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"parkermazk" wrote:

Hello,

I am trying to use the =SUMPRODUCT formula but it does not seem to be
working. Not sure what I am doing wrong.

Here is an example of the data:

Adams, Wendy OD-Apple 6
Adams, Wendy OD-Orange 2.5
Adams, Wendy JD-Lemon 3
Adams, Wendy JD-Apple 8
Arment, Shannon JD-Cherry 25
Arment, Shannon OD-Orange 4
Arment, Shannon OD-Apple 2
Arment, Shannon JD-Blueberry 4
Baca, Ralph JD-Kiwi 4
Baca, Ralph JD-Lemon 1.5
Baca, Ralph JD-Cherry 8.5
Baca, Ralph JD-Grape 4
Baca, Ralph OD-Banana 1
Baca, Ralph OD-Apple 5
Borlan, Priscilla JD-Lemon 4
Borlan, Priscilla JD-Grape 8
Borlan, Priscilla OD-Orange 4
Borlan, Priscilla OD-Kiwi 4

Here is the formula I am trying to use:

=SUMPRODUCT((Practice!A1:A18=A1)*(Practice!B1:B18= "JD")*(Practice!C1:C18))

If whats in column A matches and column B has the letters "JD" in it then
sum up whats in column C.

I think my problem is that I am only searching for a portion of the text in
column B.

Can anyone help with this?

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 with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
sumproduct freebee Excel Discussion (Misc queries) 4 July 24th 08 12:11 AM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
sumproduct John997 Excel Discussion (Misc queries) 6 March 6th 06 11:55 PM


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