Could you help with SUMPRODUCT

Sean15

Well-known Member
Joined
Jun 25, 2005
Messages
698
Office Version
  1. 2010
Platform
  1. Windows
Hi:

I have serial numbers in column K and prices in column S.
I want to add all prices in column S for all serial numbers in column K that begin with 4010
The formula below is returning #Value!

=SUMPRODUCT((LEFT(K16:K48,4)+0=4010)*(S16:S48)).

Could you help please?

Regards,
Sean
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Try this

Book1
AJKSTUV
1
15
164010a1135
174010a22
184010a33
194010a44
204010a55
215013a16
225013a17
235013a18
244010a49
255013a110
264010a211
27
Hoja18
Cell Formulas
RangeFormula
U16U16=SUMIF(K16:K26,"4010*",S16:S26)
 
Upvote 0
Or sumproduct:

=SUMPRODUCT((LEFT(K16:K48,4)="4010")*(S16:S48))
 
Upvote 0
I'm glad to help you. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,113
Messages
6,128,903
Members
449,477
Latest member
panjongshing

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