sumifs(index(match vs sumproduct

Kmitchell

Active Member
Joined
Feb 27, 2007
Messages
361
Office Version
  1. 365
Platform
  1. Windows
Hello - I have a formula that isn't doing what I had hoped (shown below), it's returning the first value that meets the index(match criteria but I'm looking to have it sum up all values that match row 6 and column H.


F7:BK124 sits all the data to sum up. Should I be using a sumproduct instead? Any suggestions greatly appreciated.

SUMIFS(INDEX('SCHEDULE USE'!$F$7:$BK$124,0,MATCH(SUMMARY!C$6,'SCHEDULE USE'!$F$3:$BK$3,0)),'SCHEDULE USE'!$BO$7:$BO$124,SUMMARY!$H18)
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Try

=SUMPRODUCT(('SCHEDULE USE'!$F$3:$BK$3=SUMMARY!C$6)*('SCHEDULE USE'!$BO$7:$BO$124=SUMMARY!$H18)*'SCHEDULE USE'!$F$7:$BK$124)
 
Upvote 0
Thank you for your quick reply.

I modified it to grab H7 instead of H18 but it's returning #N/A. Am I missing a parenthesis?

SUMPRODUCT(('SCHEDULE USE'!$F$3:$BK$3=SUMMARY!C$6)*('SCHEDULE USE'!$BO$8:$BO$124=SUMMARY!$H7)*'SCHEDULE USE'!$F$8:$BK$124)
 
Upvote 0
If there are any pre-existing #N/A errors within any of the referenced ranges
That would cause the formula to return #N/A as well.
 
Upvote 0
Does row 3 have to have a value in every cell or can they be intentionally left blank?
 
Upvote 0
Blanks in Row3 won't cause any Error (they won't meet the criteria of =C6, but no error).
 
Upvote 0
The #N/A isn't apparent to me as to the cause...there are no pre-existing #N/A errors on the source tab
 
Upvote 0
Your formula refers to more than 1 tab.

#N/A in ANY of the referenced cells within that formula will cause the formula to be #N/A
 
Upvote 0
I'll have to trouble shoot, every single row and column is returning #N/A yet when I manually grab those elements on source tab there aren't any errors
 
Upvote 0
Hello - I have a formula that isn't doing what I had hoped (shown below), it's returning the first value that meets the index(match criteria but I'm looking to have it sum up all values that match row 6 and column H.


F7:BK124 sits all the data to sum up. Should I be using a sumproduct instead? Any suggestions greatly appreciated.

SUMIFS(INDEX('SCHEDULE USE'!$F$7:$BK$124,0,MATCH(SUMMARY!C$6,'SCHEDULE USE'!$F$3:$BK$3,0)),'SCHEDULE USE'!$BO$7:$BO$124,SUMMARY!$H18)

Could you clarify what range exactly is this formula intended to pick out and sum?
 
Upvote 0

Forum statistics

Threads
1,214,586
Messages
6,120,402
Members
448,958
Latest member
Hat4Life

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