LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 698
Default VLOOKUP Formula using variable for lookup_value

Hi Los,

I named a cell Target and used it in this simple test formula and it worked
fine.

=VLOOKUP(Target,A1:B5,2,0)

If you did not name the lookup value cell Target, the the lookup value in
your formula is the word Target and would have to be in quotes...
=VLOOKUP("Target",A1:B5,2,0). If a named range then as above without the "
"s.

HTH
Regards,
Howard

"Los in RI" wrote in message
...
I have a cell format search criteria over a specified column range. When
the
criteria is satified, I need to enter a formula using VLOOKUP in an
adjacent
column that uses the value in the cell that satisfied my format search
criteria as the lookup value.

I used the formaul:
"=VLOOKUP(Target,'C:\Documents and
Settings[SummaryByProject(111005).xls]Current'!$B$1:$D$585,2,FALSE)"
, where I tried to define Target as the cell that satisfied teh search
criteria, but it does not work.

I'd apprecaite any help you can give on this
Thanks
--
Los



 
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 09:32 PM.

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

About Us

"It's about Microsoft Excel"