ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   copying VLOOKUP w/o changing formula (https://www.excelbanter.com/excel-worksheet-functions/129563-copying-vlookup-w-o-changing-formula.html)

rldjda

copying VLOOKUP w/o changing formula
 
I want to copy the following VLOOKUP:

=VLOOKUP(B11,'1'!E2:F11,2,FALSE)

and paste it down an entire column consisting of 1000 cells, but cell range
of "E2:F11" changes down the column (ex. E3:F12). I WANT B11 to change
accordingly, but how do I paste this without having to change the E:F cell
ranges back to E2:F11 on each cell that is pasted?

T. Valko

copying VLOOKUP w/o changing formula
 
Make the table references absolute:

=VLOOKUP(B11,'1'!E$2:F$11,2,FALSE)

The $ signs will keep the rows from changing when copied.

Biff

"rldjda" wrote in message
...
I want to copy the following VLOOKUP:

=VLOOKUP(B11,'1'!E2:F11,2,FALSE)

and paste it down an entire column consisting of 1000 cells, but cell
range
of "E2:F11" changes down the column (ex. E3:F12). I WANT B11 to change
accordingly, but how do I paste this without having to change the E:F cell
ranges back to E2:F11 on each cell that is pasted?




Dave Peterson

copying VLOOKUP w/o changing formula
 
try:

=VLOOKUP(B11,'1'!$e$2:$F$11,2,FALSE)

The $ signs tells excel not to adjust that row or column when copying or cutting
then pasting.

rldjda wrote:

I want to copy the following VLOOKUP:

=VLOOKUP(B11,'1'!E2:F11,2,FALSE)

and paste it down an entire column consisting of 1000 cells, but cell range
of "E2:F11" changes down the column (ex. E3:F12). I WANT B11 to change
accordingly, but how do I paste this without having to change the E:F cell
ranges back to E2:F11 on each cell that is pasted?


--

Dave Peterson


All times are GMT +1. The time now is 02:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com