Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUMPRODUCT containing txt string search

Hello all
A B
Name code
EN A3
LL B4
EN C2
AB B3
EN,AB A3

column A values have a name of P1B and column B has values named P1F

I have the above data and Im trying to use it to count quantites of each
instance of code for each 2 letter name, e.g EN has 2 instances of code A3

Im using
=SUMPRODUCT((P1B="EN")*(P1F="B7"))

but I cant get the formula to count when there is more than one name in a
cell (eg EN,AB. I have tried using "*EN*" but doesnt work

Please help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default SUMPRODUCT containing txt string search

Which Excel version do you use? In Excel2003 SUMPRODUCT doesn't handle entire
columns, in Excel2007 does.
Regards,
Stefi


€˛sideshowjack€¯ ezt Ć*rta:

Hello all
A B
Name code
EN A3
LL B4
EN C2
AB B3
EN,AB A3

column A values have a name of P1B and column B has values named P1F

I have the above data and Im trying to use it to count quantites of each
instance of code for each 2 letter name, e.g EN has 2 instances of code A3

Im using
=SUMPRODUCT((P1B="EN")*(P1F="B7"))

but I cant get the formula to count when there is more than one name in a
cell (eg EN,AB. I have tried using "*EN*" but doesnt work

Please help!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUMPRODUCT containing txt string search

Hi
I have excel '03, I have set the named columns to exact lengths (e.g
A2:A200), I can get SumPRODUCT to work with other sheets and formulae the
only problem I have is with it picking out a particular 2 letters from a cell
Thanks

"Stefi" wrote:

Which Excel version do you use? In Excel2003 SUMPRODUCT doesn't handle entire
columns, in Excel2007 does.
Regards,
Stefi


€˛sideshowjack€¯ ezt Ć*rta:

Hello all
A B
Name code
EN A3
LL B4
EN C2
AB B3
EN,AB A3

column A values have a name of P1B and column B has values named P1F

I have the above data and Im trying to use it to count quantites of each
instance of code for each 2 letter name, e.g EN has 2 instances of code A3

Im using
=SUMPRODUCT((P1B="EN")*(P1F="B7"))

but I cant get the formula to count when there is more than one name in a
cell (eg EN,AB. I have tried using "*EN*" but doesnt work

Please help!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default SUMPRODUCT containing txt string search

Try this:
=SUMPRODUCT(--NOT(ISERROR(FIND("EN",P1B))),--(B2:B6="P1F"))

Regards,
Stefi

€˛sideshowjack€¯ ezt Ć*rta:

Hi
I have excel '03, I have set the named columns to exact lengths (e.g
A2:A200), I can get SumPRODUCT to work with other sheets and formulae the
only problem I have is with it picking out a particular 2 letters from a cell
Thanks

"Stefi" wrote:

Which Excel version do you use? In Excel2003 SUMPRODUCT doesn't handle entire
columns, in Excel2007 does.
Regards,
Stefi


€˛sideshowjack€¯ ezt Ć*rta:

Hello all
A B
Name code
EN A3
LL B4
EN C2
AB B3
EN,AB A3

column A values have a name of P1B and column B has values named P1F

I have the above data and Im trying to use it to count quantites of each
instance of code for each 2 letter name, e.g EN has 2 instances of code A3

Im using
=SUMPRODUCT((P1B="EN")*(P1F="B7"))

but I cant get the formula to count when there is more than one name in a
cell (eg EN,AB. I have tried using "*EN*" but doesnt work

Please help!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default SUMPRODUCT containing txt string search

=SUMPRODUCT(--(ISNUMBER(FIND("EN",P1B))),--(P1F="B7"))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"sideshowjack" wrote in message
...
Hi
I have excel '03, I have set the named columns to exact lengths (e.g
A2:A200), I can get SumPRODUCT to work with other sheets and formulae the
only problem I have is with it picking out a particular 2 letters from a
cell
Thanks

"Stefi" wrote:

Which Excel version do you use? In Excel2003 SUMPRODUCT doesn't handle
entire
columns, in Excel2007 does.
Regards,
Stefi


"sideshowjack" ezt ķrta:

Hello all
A B
Name code
EN A3
LL B4
EN C2
AB B3
EN,AB A3

column A values have a name of P1B and column B has values named P1F

I have the above data and Im trying to use it to count quantites of
each
instance of code for each 2 letter name, e.g EN has 2 instances of code
A3

Im using
=SUMPRODUCT((P1B="EN")*(P1F="B7"))

but I cant get the formula to count when there is more than one name in
a
cell (eg EN,AB. I have tried using "*EN*" but doesnt work

Please help!





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUMPRODUCT containing txt string search

Got it working thank you very much greatly appreciated

"Stefi" wrote:

Try this:
=SUMPRODUCT(--NOT(ISERROR(FIND("EN",P1B))),--(B2:B6="P1F"))

Regards,
Stefi

€˛sideshowjack€¯ ezt Ć*rta:

Hi
I have excel '03, I have set the named columns to exact lengths (e.g
A2:A200), I can get SumPRODUCT to work with other sheets and formulae the
only problem I have is with it picking out a particular 2 letters from a cell
Thanks

"Stefi" wrote:

Which Excel version do you use? In Excel2003 SUMPRODUCT doesn't handle entire
columns, in Excel2007 does.
Regards,
Stefi


€˛sideshowjack€¯ ezt Ć*rta:

Hello all
A B
Name code
EN A3
LL B4
EN C2
AB B3
EN,AB A3

column A values have a name of P1B and column B has values named P1F

I have the above data and Im trying to use it to count quantites of each
instance of code for each 2 letter name, e.g EN has 2 instances of code A3

Im using
=SUMPRODUCT((P1B="EN")*(P1F="B7"))

but I cant get the formula to count when there is more than one name in a
cell (eg EN,AB. I have tried using "*EN*" but doesnt work

Please help!

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default SUMPRODUCT containing txt string search

You are welcome! Thanks for the feedback!
Stefi

€˛sideshowjack€¯ ezt Ć*rta:

Got it working thank you very much greatly appreciated

"Stefi" wrote:

Try this:
=SUMPRODUCT(--NOT(ISERROR(FIND("EN",P1B))),--(B2:B6="P1F"))

Regards,
Stefi

€˛sideshowjack€¯ ezt Ć*rta:

Hi
I have excel '03, I have set the named columns to exact lengths (e.g
A2:A200), I can get SumPRODUCT to work with other sheets and formulae the
only problem I have is with it picking out a particular 2 letters from a cell
Thanks

"Stefi" wrote:

Which Excel version do you use? In Excel2003 SUMPRODUCT doesn't handle entire
columns, in Excel2007 does.
Regards,
Stefi


€˛sideshowjack€¯ ezt Ć*rta:

Hello all
A B
Name code
EN A3
LL B4
EN C2
AB B3
EN,AB A3

column A values have a name of P1B and column B has values named P1F

I have the above data and Im trying to use it to count quantites of each
instance of code for each 2 letter name, e.g EN has 2 instances of code A3

Im using
=SUMPRODUCT((P1B="EN")*(P1F="B7"))

but I cant get the formula to count when there is more than one name in a
cell (eg EN,AB. I have tried using "*EN*" but doesnt work

Please 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
How to search a string from the right ? EuroMaverick Setting up and Configuration of Excel 2 March 28th 07 09:20 PM
to search for a string and affect data if it finds the string? Shwaman Excel Worksheet Functions 1 January 11th 06 12:56 AM
SUMPRODUCT and search string peacelittleone Excel Worksheet Functions 5 June 15th 05 03:24 PM
Q: search in string JIM.H. Excel Discussion (Misc queries) 5 January 5th 05 10:24 PM
Segregating a Search String RTP Excel Discussion (Misc queries) 1 December 22nd 04 07:04 PM


All times are GMT +1. The time now is 06:13 PM.

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"