Index Match formula not working when cut and paste into a different sheet

dsmith1088

New Member
Joined
Aug 31, 2017
Messages
11
Hi there

I have a cell which contains the following formula:

=INDEX(C7:L46,MATCH(1,(A7:A1048576=O1)*(B7:B1048576=MROUND(O3,0.1)),0),INDEX(4:4,MATCH(MROUND(O2,25),6:6,0)))

I need to cut and paste this cell into Sheet2 in the same workbook. The formula references automatically update as expected:

=INDEX('MPG Matrix'!C7:L46,MATCH(1,('MPG Matrix'!A7:A1048576='MPG Matrix'!O1)*('MPG Matrix'!B7:B1048576=MROUND('MPG Matrix'!O3,0.1)),0),INDEX('MPG Matrix'!4:4,MATCH(MROUND('MPG Matrix'!O2,25),$G8:$G8,0)))

So the two formulas look exactly the same to me? However, the second formula no longer works, despite all the cell references remaining the same.

Any help would be great, thank you.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Not all references are exactly the same:

=INDEX(C7:L46,MATCH(1,(A7:A1048576=O1)*(B7:B1048576=MROUND(O3,0.1)),0),INDEX(4:4,MATCH(MROUND(O2,25),6:6,0)))

=INDEX('MPG Matrix'!C7:L46,MATCH(1,('MPG Matrix'!A7:A1048576='MPG Matrix'!O1)*('MPG Matrix'!B7:B1048576=MROUND('MPG Matrix'!O3,0.1)),0),INDEX('MPG Matrix'!4:4,MATCH(MROUND('MPG Matrix'!O2,25),$G8:$G8,0)))

Also, be sure you're committing the formula using CTRL+SHIFT+ENTER to store it as an array formula.
 
Upvote 0
Thank you very much. Absolutely no idea why this would happen. I've retried cutting & pasting and it continues to happen! Strange... I've manually updated the formula now.
 
Upvote 0

Forum statistics

Threads
1,216,099
Messages
6,128,822
Members
449,469
Latest member
Kingwi11y

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