sum product & wild card

subzerouk

New Member
Joined
Feb 19, 2011
Messages
8
Hi all,

You were were very useful and fast to respond last time thanks again; hopefully you can help again...

=SUMPRODUCT((Lowers!$Q$1:$Q$1000='UPH DATA'!H3)*(Lowers!$A$1:$A$1000="9*"),Lowers!$J$1:$J$1000)


Above is a formula I'm trying to use. What it is intended to do is check one column in a sheet against a cell in another but also to check a column that contains barcodes against ones that only begin with the number 9.


However, it is just returning the answer 0


Any help appreciated


Thanks
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Worked a treat thanks :)

Just another quick question if I may...
On the same workbook I'm trying to do a countif of how many times it occurs. On a previous workbook for a multiple criteria count I used:

=SUMPRODUCT(($N$1:$N$1000=$P$43)*($M$1:$M$1000=P45))
Which works fine. However, I tried what I thought would be a similar version but I just get a value error:

=SUMPRODUCT((Lowers!$Q$1:$Q$1000='BOOKS DATA'!A3)*(LEFT(Lowers!$A$1:$A$1000="9")))


Any thoughts?


Thanks again
 
Upvote 0
Worked a treat thanks :)

Just another quick question if I may...
On the same workbook I'm trying to do a countif of how many times it occurs. On a previous workbook for a multiple criteria count I used:

=SUMPRODUCT(($N$1:$N$1000=$P$43)*($M$1:$M$1000=P45))
Which works fine. However, I tried what I thought would be a similar version but I just get a value error:

=SUMPRODUCT((Lowers!$Q$1:$Q$1000='BOOKS DATA'!A3)*(LEFT(Lowers!$A$1:$A$1000="9")))


Any thoughts?


Thanks again

It should be:

=SUMPRODUCT((Lowers!$Q$1:$Q$1000='BOOKS DATA'!A3)*(LEFT(Lowers!$A$1:$A$1000)="9"))

Also...

=SUMPRODUCT(--(Lowers!$Q$1:$Q$1000='BOOKS DATA'!A3),--(LEFT(Lowers!$A$1:$A$1000)="9"))
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top