Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old October 31st 04, 01:19 PM
narendra
 
Posts: n/a
Default How to use a table index from a formula

I have a function where I wish to choose my lookup table (I have several
range names defined for each of these tables)
I have written a function which can compute the correct range name but when
I use this in the formula
=VLOOKUP(IF(AE8<0.37;0.37;AE8);(xplace(AU8));4;TRU E) I get an error.
Possibly excel cannot compute xplace(AU8) correctly as a text value .

Pls help

Narendra

  #2   Report Post  
Old October 31st 04, 02:01 PM
Aladin Akyurek
 
Posts: n/a
Default


=VLOOKUP(IF(AE8<0.37;0.37;AE8);INDIRECT(AU8);4;1)

1 has the same meaning/effect as TRUE.

narendra Wrote:
I have a function where I wish to choose my lookup table (I have
several
range names defined for each of these tables)
I have written a function which can compute the correct range name but
when
I use this in the formula
=VLOOKUP(IF(AE8<0.37;0.37;AE8);(xplace(AU8));4;TRU E) I get an error.
Possibly excel cannot compute xplace(AU8) correctly as a text value .

Pls help

Narendra



--
Aladin Akyurek
------------------------------------------------------------------------
Aladin Akyurek's Profile: http://www.excelforum.com/member.php...fo&userid=4165
View this thread: http://www.excelforum.com/showthread...hreadid=273973

  #3   Report Post  
Old October 31st 04, 02:10 PM
Ragdyer
 
Posts: n/a
Default

Try this:

=VLOOKUP(IF(AE8<0.37;0.37;AE8);INDIRECT(AU8);4;TRU E)
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"narendra" wrote in message
...
I have a function where I wish to choose my lookup table (I have several
range names defined for each of these tables)
I have written a function which can compute the correct range name but

when
I use this in the formula
=VLOOKUP(IF(AE8<0.37;0.37;AE8);(xplace(AU8));4;TRU E) I get an error.
Possibly excel cannot compute xplace(AU8) correctly as a text value .

Pls help

Narendra




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 to make formula grow with the table Helen McClaine Excel Discussion (Misc queries) 1 January 22nd 05 04:09 PM
Adding a formula to a pivot table Tony Excel Discussion (Misc queries) 2 January 20th 05 10:27 AM
table dow Excel Discussion (Misc queries) 0 January 12th 05 02:25 PM
Running Data Table using an input that triggers DDE linked data [email protected] Excel Discussion (Misc queries) 1 December 16th 04 11:56 AM
How to create a calculated field formula based on Pivot Table resu dha17 Excel Discussion (Misc queries) 1 December 15th 04 05:39 AM


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

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017