Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 109
Default Sumproduct - use of some characters

Hello all,

In using Sumproduct, I have a column that contains similar products in which
I need to compute all of. For example, in the Product column, there are
mulitple 16.9oz products. Can I use 16.9*? I tried, and it didn't work. Is
left another option, if so, how would I use it?

Rich


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Sumproduct - use of some characters

If i've understood correctly, try this

=SUMPRODUCT(--(LEFT(A1:A10,4)="16.9"))

Mike

"MrRJ" wrote:

Hello all,

In using Sumproduct, I have a column that contains similar products in which
I need to compute all of. For example, in the Product column, there are
mulitple 16.9oz products. Can I use 16.9*? I tried, and it didn't work. Is
left another option, if so, how would I use it?

Rich


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default Sumproduct - use of some characters

If the beginning of your entry is a number, you can get that number by using
this...

LOOKUP(9.9E+307,--LEFT(A1,ROW($1:$99)))

So in your 16.9oz products example, the above would return the 16.9 part of
it.

--
Rick (MVP - Excel)


"MrRJ" wrote in message
...
Hello all,

In using Sumproduct, I have a column that contains similar products in
which
I need to compute all of. For example, in the Product column, there are
mulitple 16.9oz products. Can I use 16.9*? I tried, and it didn't work.
Is
left another option, if so, how would I use it?

Rich



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Sumproduct - use of some characters

What does compute mean? Count?

Try something like this:

=SUMPRODUCT(--(ISNUMBER(SEARCH("16.9oz",A1:A100))))

Or:

=SUMPRODUCT(--(LEFT(A1:A100,6)="16.9oz"))

--
Biff
Microsoft Excel MVP


"MrRJ" wrote in message
...
Hello all,

In using Sumproduct, I have a column that contains similar products in
which
I need to compute all of. For example, in the Product column, there are
mulitple 16.9oz products. Can I use 16.9*? I tried, and it didn't work.
Is
left another option, if so, how would I use it?

Rich




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Sumproduct - use of some characters

You could use a term like this:

(LEFT(A1:A100,4)="16.9")

as one of the conditions in the SP formula, assuming it is column A
where your products are.

Hope this helps.



On Oct 7, 6:54*pm, MrRJ wrote:
Hello all,

In using Sumproduct, I have a column that contains similar products in which
I need to compute all of. *For example, in the Product column, there are
mulitple 16.9oz products. *Can I use 16.9*? *I tried, and it didn't work. *Is
left another option, if so, how would I use it?

Rich




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 109
Default Sumproduct - use of some characters

This is what I have.

=SUMPRODUCT(--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$C$2:$C$11818=A271),--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$A$2:$A$11818=B271),--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$O$2:$O$11818))-SUMPRODUCT(--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$C$2:$C$11818=A271),--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$A$2:$A$11818=B271),--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$M$2:$M$11818))*SUMIF('[WAP''s.xls]WAPs'!$A$2:$A$45,A271,'[WAP''s.xls]WAPs'!$B$2:$B$45)

Are you saying that I need to replace all the A column to "16.9"? I was
hoping to change the value in my A column like 16.9* meaning all values with
the 16.9 in front. Does that make sense?

Rich

"T. Valko" wrote:

What does compute mean? Count?

Try something like this:

=SUMPRODUCT(--(ISNUMBER(SEARCH("16.9oz",A1:A100))))

Or:

=SUMPRODUCT(--(LEFT(A1:A100,6)="16.9oz"))

--
Biff
Microsoft Excel MVP


"MrRJ" wrote in message
...
Hello all,

In using Sumproduct, I have a column that contains similar products in
which
I need to compute all of. For example, in the Product column, there are
mulitple 16.9oz products. Can I use 16.9*? I tried, and it didn't work.
Is
left another option, if so, how would I use it?

Rich





  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 109
Default Sumproduct - use of some characters

Thanks Pete,
Question. Can I change the column A instead of typing in the 16.9 in the
formula?

Rich

"Pete_UK" wrote:

You could use a term like this:

(LEFT(A1:A100,4)="16.9")

as one of the conditions in the SP formula, assuming it is column A
where your products are.

Hope this helps.



On Oct 7, 6:54 pm, MrRJ wrote:
Hello all,

In using Sumproduct, I have a column that contains similar products in which
I need to compute all of. For example, in the Product column, there are
mulitple 16.9oz products. Can I use 16.9*? I tried, and it didn't work. Is
left another option, if so, how would I use it?

Rich



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 109
Default Sumproduct - use of some characters

Mike,
Thanks. However, is there a way that instead of using "16.9", I like to use
the SP to link to the cell that I want to find only the leftmost 4
characters? Does that make sense?

"Mike H" wrote:

If i've understood correctly, try this

=SUMPRODUCT(--(LEFT(A1:A10,4)="16.9"))

Mike

"MrRJ" wrote:

Hello all,

In using Sumproduct, I have a column that contains similar products in which
I need to compute all of. For example, in the Product column, there are
mulitple 16.9oz products. Can I use 16.9*? I tried, and it didn't work. Is
left another option, if so, how would I use it?

Rich


  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Sumproduct - use of some characters

Well, the first thing *I* would do is rename that file to something much,
much, much shorter!

You can't directly use wildcards in SUMPRODUCT.

In your formula which range contains the 16.9oz?

--
Biff
Microsoft Excel MVP


"MrRJ" wrote in message
...
This is what I have.

=SUMPRODUCT(--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$C$2:$C$11818=A271),--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$A$2:$A$11818=B271),--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$O$2:$O$11818))-SUMPRODUCT(--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$C$2:$C$11818=A271),--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$A$2:$A$11818=B271),--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$M$2:$M$11818))*SUMIF('[WAP''s.xls]WAPs'!$A$2:$A$45,A271,'[WAP''s.xls]WAPs'!$B$2:$B$45)

Are you saying that I need to replace all the A column to "16.9"? I was
hoping to change the value in my A column like 16.9* meaning all values
with
the 16.9 in front. Does that make sense?

Rich

"T. Valko" wrote:

What does compute mean? Count?

Try something like this:

=SUMPRODUCT(--(ISNUMBER(SEARCH("16.9oz",A1:A100))))

Or:

=SUMPRODUCT(--(LEFT(A1:A100,6)="16.9oz"))

--
Biff
Microsoft Excel MVP


"MrRJ" wrote in message
...
Hello all,

In using Sumproduct, I have a column that contains similar products in
which
I need to compute all of. For example, in the Product column, there
are
mulitple 16.9oz products. Can I use 16.9*? I tried, and it didn't
work.
Is
left another option, if so, how would I use it?

Rich







  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 109
Default Sumproduct - use of some characters

I agree with you about the file names. I did not create them. I am
consulting for this company.

The CCDS Audit Transaction report is the one that is the source data for all
the various 16.9 products. I am using completely another file in which I
like to use a cell with the 16.9* to link to. Is that possible? Otherwise,
I would have to split out various product types. I like to group them.

Make sense??

"T. Valko" wrote:

Well, the first thing *I* would do is rename that file to something much,
much, much shorter!

You can't directly use wildcards in SUMPRODUCT.

In your formula which range contains the 16.9oz?

--
Biff
Microsoft Excel MVP


"MrRJ" wrote in message
...
This is what I have.

=SUMPRODUCT(--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$C$2:$C$11818=A271),--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$A$2:$A$11818=B271),--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$O$2:$O$11818))-SUMPRODUCT(--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$C$2:$C$11818=A271),--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$A$2:$A$11818=B271),--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$M$2:$M$11818))*SUMIF('[WAP''s.xls]WAPs'!$A$2:$A$45,A271,'[WAP''s.xls]WAPs'!$B$2:$B$45)

Are you saying that I need to replace all the A column to "16.9"? I was
hoping to change the value in my A column like 16.9* meaning all values
with
the 16.9 in front. Does that make sense?

Rich

"T. Valko" wrote:

What does compute mean? Count?

Try something like this:

=SUMPRODUCT(--(ISNUMBER(SEARCH("16.9oz",A1:A100))))

Or:

=SUMPRODUCT(--(LEFT(A1:A100,6)="16.9oz"))

--
Biff
Microsoft Excel MVP


"MrRJ" wrote in message
...
Hello all,

In using Sumproduct, I have a column that contains similar products in
which
I need to compute all of. For example, in the Product column, there
are
mulitple 16.9oz products. Can I use 16.9*? I tried, and it didn't
work.
Is
left another option, if so, how would I use it?

Rich










  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Sumproduct - use of some characters

I like to use a cell with the 16.9* to link to.
You can't directly use wildcards in SUMPRODUCT.


If A1 = 16.9 ...

=SUMPRODUCT(--(ISNUMBER(SEARCH(A1,Sheet!A1:A100))))

However, that will match:

16.95lbs
16.9oz
16.9g
16.90
16.99

Anything that contains 16.9

So, if you're looking specifically for 16.9oz enter 16.9oz in A1.

--
Biff
Microsoft Excel MVP


"MrRJ" wrote in message
...
I agree with you about the file names. I did not create them. I am
consulting for this company.

The CCDS Audit Transaction report is the one that is the source data for
all
the various 16.9 products. I am using completely another file in which I
like to use a cell with the 16.9* to link to. Is that possible?
Otherwise,
I would have to split out various product types. I like to group them.

Make sense??

"T. Valko" wrote:

Well, the first thing *I* would do is rename that file to something much,
much, much shorter!

You can't directly use wildcards in SUMPRODUCT.

In your formula which range contains the 16.9oz?

--
Biff
Microsoft Excel MVP


"MrRJ" wrote in message
...
This is what I have.

=SUMPRODUCT(--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$C$2:$C$11818=A271),--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$A$2:$A$11818=B271),--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$O$2:$O$11818))-SUMPRODUCT(--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$C$2:$C$11818=A271),--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$A$2:$A$11818=B271),--('[CCDS_PEP_Audit_Transaction_Receipt_Report_PAS_P920 08_090808.xls]PAS
P9
wkst'!$M$2:$M$11818))*SUMIF('[WAP''s.xls]WAPs'!$A$2:$A$45,A271,'[WAP''s.xls]WAPs'!$B$2:$B$45)

Are you saying that I need to replace all the A column to "16.9"? I
was
hoping to change the value in my A column like 16.9* meaning all values
with
the 16.9 in front. Does that make sense?

Rich

"T. Valko" wrote:

What does compute mean? Count?

Try something like this:

=SUMPRODUCT(--(ISNUMBER(SEARCH("16.9oz",A1:A100))))

Or:

=SUMPRODUCT(--(LEFT(A1:A100,6)="16.9oz"))

--
Biff
Microsoft Excel MVP


"MrRJ" wrote in message
...
Hello all,

In using Sumproduct, I have a column that contains similar products
in
which
I need to compute all of. For example, in the Product column, there
are
mulitple 16.9oz products. Can I use 16.9*? I tried, and it didn't
work.
Is
left another option, if so, how would I use it?

Rich










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
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
Sumproduct with wildcard characters? Dan Excel Discussion (Misc queries) 3 March 14th 07 12:36 AM
In Excel find characters when multiple characters exist w/i a cel teacher-deburg Excel Worksheet Functions 1 December 5th 05 10:22 PM
HOW DO I EXTRACT ALL CHARACTERS AFTER 5 CHARACTERS ON LEFT GRYSYF Excel Worksheet Functions 5 October 12th 05 10:58 AM
Using Wildcard characters in sumproduct Charles Excel Worksheet Functions 3 July 22nd 05 05:23 AM


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