SUMPRODUCT or ARRAY ARRRRGGH!

jasonshirt

New Member
Joined
Jul 8, 2008
Messages
23
Hi
i am trying to sum data within a spreadsheet using certain criteria.

I have used sumif before but this was when searching for the actual full part number i.e. AWV2500-A. I want to simply not by each part but by ones which begin AWV... so this will give me one total for AWV type parts.
In addition the file has several months data i want to pick up 200806 month only.

This is the formula i used but returned VALUE statement.

=SUM(IF(A3727:A6078="AWV&"*",IF(K3727:K6078=""200806",C3727:C6078))

Is there a SUM product i could use?

Any help would be apprecaited.
Thanks
Jason
 

Some videos you may like

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

DonkeyOte

MrExcel MVP
Joined
Sep 6, 2002
Messages
9,123
=sumproduct(--(left($a$3727:$a$6078,3)="awv"),--($k$3727:$k$6078="200806"),--($c$3727:$c$6078))
 

jasonshirt

New Member
Joined
Jul 8, 2008
Messages
23
LASW10
Thanks this works a dream!

Can you tell me what the -- marks are for, what purpose are they for?

Thanks

Jason
 

Watch MrExcel Video

Forum statistics

Threads
1,122,867
Messages
5,598,542
Members
414,245
Latest member
allyciv

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
Top