formula keeps changing

Sabiaeric

New Member
Joined
Nov 6, 2017
Messages
8
=INDEX(Enumbers!C2:C60,MATCH('final data'!B2,Enumbers!B2:B60,0))

Question:
the above formula is giving me some issues. i have a work around but it is long.

the formula is correct BUT i need to move it to several cells and the formatting of the formula must remain the same.

Enumbers!C2:C60 and Enumbers!B2:B60, can not change.

final data'!B2 is the only point that needs to change.


copy and paste will fill each cell i need but till move the formula to adjust for the new position .
is there a way to stop this from happening?

i can manually go in and fix the issue, but if there is and easier way , i would love to know.



example
=INDEX(Enumbers!C2:C60,MATCH('final data'!B2,Enumbers!B2:B60,0)) --- cell A2
=INDEX(Enumbers!C3:C61,MATCH('final data'!B3,Enumbers!B3:B61,0)) --- Cell B2
=INDEX(Enumbers!C4:C62,MATCH('final data'!B4,Enumbers!B4:B62,0)) --- Cell c2
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Instead of...C2:C60, use...$C$2:$C$60

same for the other one. Or you can mix and match as you like. A "$" in front of either the column reference or the row reference will 'lock' it. So you could use:

C2 to allow both to "move with cells"

$C2 to allow only the row to move

C$2 to allow only the column to move
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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