Sum based on Multiple Criteria in separate sheet

Matrix67

New Member
Joined
Jun 13, 2011
Messages
5
Good day all,

I'm currently struggling with this conundrum...I need to transfer a figure from the end of a Row based on two criteria, column J= "1" & column O="Manufacturing, all this info being in a separate sheet, so far I have two formula's...both returning an incorrect result:

=SUM,'2012'!V3:V10000(IF('2012'!J3:J10000=1,IF('2012'!O3:O10000,("Manufacturing"))))

=SUMPRODUCT(('2012'!J3:J10000=1)*('2012'!O3:O10000="Manufacturing")*(V3:V10000))

Please Help...thank you all, oh & have a great weekend! Marco
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Which version of Excel are you using?

If you're using Excel for Windows 2007 or later, or Excel for Mac 2008 or later, you can make use of the SUMIFS formula as below:

=SUMIFS('2012'!V3:V10000, '2012'!J3:J10000,"=1",'2012'!O3:O10000,"Manufacturing")


Let me know if this works :)
 
Upvote 0
Good day all,

I'm currently struggling with this conundrum...I need to transfer a figure from the end of a Row based on two criteria, column J= "1" & column O="Manufacturing, all this info being in a separate sheet, so far I have two formula's...both returning an incorrect result:

=SUM,'2012'!V3:V10000(IF('2012'!J3:J10000=1,IF('2012'!O3:O10000,("Manufacturing"))))

=SUMPRODUCT(('2012'!J3:J10000=1)*('2012'!O3:O10000="Manufacturing")*(V3:V10000))

Please Help...thank you all, oh & have a great weekend! Marco
The SUMPRODUCT formula is syntactically correct so it should return the correct result provided there is not a "data type mismatch" issue.

Using that syntax, if there are text entries in the sum range then you'll get a #VALUE! error. To get around that use this syntax:

=SUMPRODUCT(--('2012'!J3:J10000=1),--('2012'!O3:O10000="Manufacturing"),V3:V10000)
 
Upvote 0
Guys, I can't thank you all enough...especially "ilovepurple"! Worked like an absolute CHARM! Have a fantastic weekend!!! I will now :)
 
Upvote 0

Forum statistics

Threads
1,215,133
Messages
6,123,235
Members
449,092
Latest member
SCleaveland

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