ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   SUMPRODUCT WITH WILDCARD (https://www.excelbanter.com/excel-discussion-misc-queries/76760-sumproduct-wildcard.html)

Mark

SUMPRODUCT WITH WILDCARD
 
Can someone assist me with a formula to sumproduct with wildcards, please?

=SUMPRODUCT(--(F:F="NPT*"),--(A:A="PC*"))

I've got this but it doesn't work!!

--
Mark

Dave Peterson

SUMPRODUCT WITH WILDCARD
 
=sumproduct(--(left(f1:F100,3)="npt"),--(left(a1:a100,2)="pc"))

You can't use whole columns with this kind of formula.

Mark wrote:

Can someone assist me with a formula to sumproduct with wildcards, please?

=SUMPRODUCT(--(F:F="NPT*"),--(A:A="PC*"))

I've got this but it doesn't work!!

--
Mark


--

Dave Peterson

via135

SUMPRODUCT WITH WILDCARD
 

hi!

SUMIF can use wildcards, but only for one test, but SUMPRODUCT doesn't
support wildcards directly.

-via135

Mark Wrote:
Can someone assist me with a formula to sumproduct with wildcards,
please?

=SUMPRODUCT(--(F:F="NPT*"),--(A:A="PC*"))

I've got this but it doesn't work!!

--
Mark



--
via135
------------------------------------------------------------------------
via135's Profile: http://www.excelforum.com/member.php...o&userid=26725
View this thread: http://www.excelforum.com/showthread...hreadid=521504


Mark

SUMPRODUCT WITH WILDCARD
 
Thanks Dave, but I'm getting #N/A and I can see there are some rows with this
info!

Can you offer any suggestion?

--
Mark


"Dave Peterson" wrote:

=sumproduct(--(left(f1:F100,3)="npt"),--(left(a1:a100,2)="pc"))

You can't use whole columns with this kind of formula.

Mark wrote:

Can someone assist me with a formula to sumproduct with wildcards, please?

=SUMPRODUCT(--(F:F="NPT*"),--(A:A="PC*"))

I've got this but it doesn't work!!

--
Mark


--

Dave Peterson


Dave Peterson

SUMPRODUCT WITH WILDCARD
 
What formula did you use?

Do you have #n/a's in either of those two ranges?

Mark wrote:

Thanks Dave, but I'm getting #N/A and I can see there are some rows with this
info!

Can you offer any suggestion?

--
Mark

"Dave Peterson" wrote:

=sumproduct(--(left(f1:F100,3)="npt"),--(left(a1:a100,2)="pc"))

You can't use whole columns with this kind of formula.

Mark wrote:

Can someone assist me with a formula to sumproduct with wildcards, please?

=SUMPRODUCT(--(F:F="NPT*"),--(A:A="PC*"))

I've got this but it doesn't work!!

--
Mark


--

Dave Peterson


--

Dave Peterson

Mark

SUMPRODUCT WITH WILDCARD
 
Dave,

Brilliant!

It was the #N/A in column F!

Sorted it, many thanks.
--
Mark


"Dave Peterson" wrote:

What formula did you use?

Do you have #n/a's in either of those two ranges?

Mark wrote:

Thanks Dave, but I'm getting #N/A and I can see there are some rows with this
info!

Can you offer any suggestion?

--
Mark

"Dave Peterson" wrote:

=sumproduct(--(left(f1:F100,3)="npt"),--(left(a1:a100,2)="pc"))

You can't use whole columns with this kind of formula.

Mark wrote:

Can someone assist me with a formula to sumproduct with wildcards, please?

=SUMPRODUCT(--(F:F="NPT*"),--(A:A="PC*"))

I've got this but it doesn't work!!

--
Mark

--

Dave Peterson


--

Dave Peterson



All times are GMT +1. The time now is 02:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com