ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how do I paste copied formulae without losing refences to tables? (https://www.excelbanter.com/excel-discussion-misc-queries/231145-how-do-i-paste-copied-formulae-without-losing-refences-tables.html)

Dave N[_2_]

how do I paste copied formulae without losing refences to tables?
 
I have created a formula that uses a lookup table. I want to copy this
formula and paste it into cells in a column. However, the refence to the
table change as I repeat paste the formula into the subsequent cells. Is
there a way around it?

Dave Peterson

how do I paste copied formulae without losing refences to tables?
 
You could name the table
select the table
Insert|Name|Define (in xl2003 menus)

Or you could make sure that the address is written with absolute references.
=vlookup(a1,sheet2!$a$1:$b$33,2,false)

Or if the table is on a dedicated sheet, just use the entire column:
=vlookup(a1,sheet2!a:b,2,false)





Dave N wrote:

I have created a formula that uses a lookup table. I want to copy this
formula and paste it into cells in a column. However, the refence to the
table change as I repeat paste the formula into the subsequent cells. Is
there a way around it?


--

Dave Peterson

Jacob Skaria

how do I paste copied formulae without losing refences to tables?
 
Use absolute references..It would be worth to take a look at the below link

http://www.cpearson.com/excel/relative.aspx


--
If this post helps click Yes
---------------
Jacob Skaria


"Dave N" wrote:

I have created a formula that uses a lookup table. I want to copy this
formula and paste it into cells in a column. However, the refence to the
table change as I repeat paste the formula into the subsequent cells. Is
there a way around it?



All times are GMT +1. The time now is 10:21 AM.

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