Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy VLOOKUP Formular but only change the Lookup_Value.

Help Needed.

I want to copy the same formular to about 400 rows in a sheet.
When I use the copy paste method I dont want to all the cell reference
in the formular to be changed, for example:

Cell G9 =VLOOKUP(F9,WorkerData!I5:K404,3,FALSE)
Cell G10 =VLOOKUP(F10,WorkerData!I5:K404,3,FALSE)
Cell G11 =VLOOKUP(F11,WorkerData!I5:K404,3,FALSE)
Cell G12 =VLOOKUP(F12,WorkerData!I5:K404,3,FALSE)

In other words I want the Lookup_Value (F9) to change but th
Table_Array (I5:K404), Col_Index_Num (3) and Range_Lookup (Flase) t
stay the same.

I have thought of using three other cells with the three part
converted to text, and then re-merging them into the cell I want.
For Example:

Cell K9 "=VLOOKUP("
Cell L9 "F9"
Cell M9 ",WorkerData!I5:K404,3,FALSE)"

Then Cell G9 would be =K9&L9&M9 to merge the cells together in th
complete formular.....then convert back to general format to run th
formular.

My question is.............IS THERE AN EASIER WAY.....Maybe with VBA o
another formular?

Thanks
Celtic_Avenge

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy VLOOKUP Formular but only change the Lookup_Value.

As I replied to your earlier post, in this case a slight change i
required

Cell G9 =VLOOKUP(F9,WorkerData!$I$5:$K$404,3,FALSE)

F9 will change but the array table will not

- Manges

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Copy VLOOKUP Formular but only change the Lookup_Value.

Hi
=VLOOKUP(F9,WorkerData!$I$5:$K$404,3,FALSE)

also see:
http://www.cpearson.com/excel/relative.htm

--
Regards
Frank Kabel
Frankfurt, Germany

"Celtic_Avenger "
schrieb im Newsbeitrag
...
Help Needed.

I want to copy the same formular to about 400 rows in a sheet.
When I use the copy paste method I dont want to all the cell

references
in the formular to be changed, for example:

Cell G9 =VLOOKUP(F9,WorkerData!I5:K404,3,FALSE)
Cell G10 =VLOOKUP(F10,WorkerData!I5:K404,3,FALSE)
Cell G11 =VLOOKUP(F11,WorkerData!I5:K404,3,FALSE)
Cell G12 =VLOOKUP(F12,WorkerData!I5:K404,3,FALSE)

In other words I want the Lookup_Value (F9) to change but the
Table_Array (I5:K404), Col_Index_Num (3) and Range_Lookup (Flase) to
stay the same.

I have thought of using three other cells with the three parts
converted to text, and then re-merging them into the cell I want.
For Example:

Cell K9 "=VLOOKUP("
Cell L9 "F9"
Cell M9 ",WorkerData!I5:K404,3,FALSE)"

Then Cell G9 would be =K9&L9&M9 to merge the cells together in the
complete formular.....then convert back to general format to run the
formular.

My question is.............IS THERE AN EASIER WAY.....Maybe with VBA

or
another formular?

Thanks
Celtic_Avenger


---
Message posted from http://www.ExcelForum.com/


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLOOKUP on partial lookup_value Faraz A. Qureshi Excel Discussion (Misc queries) 8 June 12th 09 05:57 AM
vlookup lookup_value text natk Excel Worksheet Functions 3 May 5th 09 07:54 PM
vlookup lookup_value ATIHelp Excel Worksheet Functions 5 July 18th 07 07:12 AM
Vlookup(lookup_value) TSulit Excel Worksheet Functions 1 February 22nd 07 04:23 PM
vlookup:same lookup_value, different returns Biff Excel Worksheet Functions 2 December 16th 05 01:00 AM


All times are GMT +1. The time now is 05:23 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"