Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
drc drc is offline
external usenet poster
 
Posts: 10
Default Looking up a returned value defining a named range

A formula return the word Two. =IF(ISBLANK('Lane Entry'!A17),0,IF('Lane
Entry'!R17=0,'Lane Entry'!S17,'Lane Entry'!R17)).

I then try to use the cell (AD15) which =Two in a vlookup statement. The
text word Two is a named range.
=VLOOKUP(D15,AD15,AE1,FALSE)
D15 = EDMONTONABSASKATOONSK
AD15 = Two
AE1 = (column) 6
The formula returns #N/A
The Vlookup statement should return 44.30.
Is there some way to use a formula output as a named range in another formula?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Looking up a returned value defining a named range

Try:

=VLOOKUP(D15,indirect(AD15),AE1,FALSE)

DRC wrote:

A formula return the word Two. =IF(ISBLANK('Lane Entry'!A17),0,IF('Lane
Entry'!R17=0,'Lane Entry'!S17,'Lane Entry'!R17)).

I then try to use the cell (AD15) which =Two in a vlookup statement. The
text word Two is a named range.
=VLOOKUP(D15,AD15,AE1,FALSE)
D15 = EDMONTONABSASKATOONSK
AD15 = Two
AE1 = (column) 6
The formula returns #N/A
The Vlookup statement should return 44.30.
Is there some way to use a formula output as a named range in another formula?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
drc drc is offline
external usenet poster
 
Posts: 10
Default Looking up a returned value defining a named range

Dave
That was exactly the ticket. Thanks for your quick response.
Darcy

"Dave Peterson" wrote:

Try:

=VLOOKUP(D15,indirect(AD15),AE1,FALSE)

DRC wrote:

A formula return the word Two. =IF(ISBLANK('Lane Entry'!A17),0,IF('Lane
Entry'!R17=0,'Lane Entry'!S17,'Lane Entry'!R17)).

I then try to use the cell (AD15) which =Two in a vlookup statement. The
text word Two is a named range.
=VLOOKUP(D15,AD15,AE1,FALSE)
D15 = EDMONTONABSASKATOONSK
AD15 = Two
AE1 = (column) 6
The formula returns #N/A
The Vlookup statement should return 44.30.
Is there some way to use a formula output as a named range in another formula?


--

Dave Peterson
.

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
Defining a custom-named Range across several worksheets Sven Herremans Excel Worksheet Functions 3 October 23rd 07 12:23 PM
Defining Range Name anshu[_2_] Excel Discussion (Misc queries) 2 July 22nd 07 07:30 AM
Defining Named Range for Lastrow in a specific column Barb Reinhardt Excel Discussion (Misc queries) 5 May 9th 07 08:55 PM
Defining maximum value from a named range for charting purposes Barb Reinhardt Charts and Charting in Excel 2 March 8th 06 04:11 PM
Defining a range Don Excel Worksheet Functions 1 February 25th 05 03:54 PM


All times are GMT +1. The time now is 09:08 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"