SUMIFS Using index and match to find the row range

Peter Davison

Active Member
Joined
Jun 4, 2020
Messages
436
Office Version
  1. 365
Platform
  1. Windows
SUMIFS(INDEX('[MasterData.xlsm]Unit Sales'!$AQ:$MMZ,MATCH($C51,'[MasterData.xlsm]Unit Sales'!$AQ:$AQ,0))

I've been doing SUMIFS and index and match for ages with no trouble, mostly using the match on a column, but this time I want the sum range to find the row to go with the columns AQ to MMZ.
I've tried the above formula (this part for the sum range) to get it to return the row reference which should be AQ6 to MMZ6. I did an F9 on the match part and that does return the 6, but then the first part returns a REF.
I can't work out what I am doing wrong?
Any help would be great.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
You've only specified a row in the index range, the column identifier is missing. As you want it to look at all columns in the range you need to use an identifier of 0 (see below)
Excel Formula:
SUMIFS(INDEX('[MasterData.xlsm]Unit Sales'!$AQ:$MMZ,MATCH($C51,'[MasterData.xlsm]Unit Sales'!$AQ:$AQ,0),0)
 
Upvote 0
Solution

Forum statistics

Threads
1,215,020
Messages
6,122,712
Members
449,093
Latest member
Mnur

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