Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ddate
 
Posts: n/a
Default Convert Range name in cell for VLookup

I wanted to create a vlookup with the range names in a cell so that it would
be flexible.

Example: current formula: vlookup(A1,data,1,false)

type in cell B1 - data

new formula: vlookup(A1,B1,1,false) .....cannot figure out how to have the
formula read as value in B1 as a range name instead of a value. Is there a
formula that can convert it properly?

Thanks.
  #2   Report Post  
Barb Reinhardt
 
Posts: n/a
Default

You'll need to use indirect(b1) where data is. I've done this recently at
work, but don't have the format for "data" handy here. Do a search on
queries on this board from "Barb R." and you should find it.

"ddate" wrote in message
...
I wanted to create a vlookup with the range names in a cell so that it
would
be flexible.

Example: current formula: vlookup(A1,data,1,false)

type in cell B1 - data

new formula: vlookup(A1,B1,1,false) .....cannot figure out how to have
the
formula read as value in B1 as a range name instead of a value. Is there
a
formula that can convert it properly?

Thanks.



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
How do I change a cell range with a reference cell? Danneskjold Excel Discussion (Misc queries) 2 August 11th 05 07:37 PM
Replace range names with cell references? KH Excel Worksheet Functions 2 August 2nd 05 01:09 AM
How do I refer a Range to a Cell Mal Excel Worksheet Functions 6 June 7th 05 08:47 AM
Look for change next blank cell in Range Nigel Bennett Excel Worksheet Functions 1 March 13th 05 09:45 PM
How can I assign a range starting cell based on a variable locati. feman007 Excel Worksheet Functions 3 March 9th 05 11:40 PM


All times are GMT +1. The time now is 06:04 AM.

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"