Copying formulas but keeping parts constant

rohitbisani

New Member
Joined
Oct 30, 2009
Messages
6
Hello Everyone, This is Rohit

I have the following formula in the excel sheet....
"=C5-VLOOKUP(A5,Sheet1!A5:E8,3,FALSE)"

What I want is , when I copy the formula in subsequent rows, the cell referencecs change accordingly..
like in this one, c5 changes to c6, a5 changes to a6, A5:E8 changes to A6:E9...


I want all changes to occur except A5:E8 - > A6:E9 .. this change mustnt occur,,
It should remain the same table A5:E8
HOw can i do that?
Please help
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Try

=C5-VLOOKUP(A5,Sheet1!$A$5:$E$8,3,FALSE)

the $s make the range absolute.
 
Upvote 0
To create static cell references in Excel, use $ in front of the column letter or row number (or both to keep them completely static).

In your example, and in most VLOOKUP cases, try:

=C5-VLOOKUP(A5,Sheet1!$A$5:$E$8,3,0)
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,688
Members
449,117
Latest member
Aaagu

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