LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
0-0 Wai Wai ^-^
 
Posts: n/a
Default Invalid Formula with the use of Indirect

As to dynamic named range, the problme is I can't change the reference style of
that named range into absolute (eg $A$1) or relative (eg A1) or partially
relative.

So it's not flexible enough.

Thanks for your help!

"Debra Dalgleish" ???
???...
Perhaps you can create a dynamic named range, as described he

http://www.contextures.com/xlNames01.html

then reference that range in the VLookup formulas.

If you provide more detail about the table, and the sheet layout, and
what you need to do, someone may be able to suggest alternatives.

0-0 Wai Wai ^-^ wrote:
Hi.
I'm not sure why it causes the error.

The formula is:
=VLOOKUP(A1, INDIRECT($C$15), 2, 1)
=VLOOKUP(A2, INDIRECT($C$15), 2, 1)
=VLOOKUP(A3, INDIRECT($C$15), 2, 1)

Cells A1 to A3 contain the values to lookup.
Cell C15 contains
=ADDRESS(ROW(C5),COLUMN(C5), 4) &":"& ADDRESS(ROW(C14),COLUMN(C14), 4)
=C5:C14 [answer display]

It won't work! :(
Error: #REF!

I need to use the INDIRECT function because I need a dynamic reference (the
table).
The table is being constantly updated.

How to solve this problem?
Or is there any alternative to do the same thing?



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html



 
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 + indirect formula smart.daisy Excel Discussion (Misc queries) 6 April 13th 06 07:00 PM
Formula Contains an invalid external reference to a worksheet Warren Setting up and Configuration of Excel 1 March 2nd 06 02:46 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Indirect formula using Data Validation List of Worksheet Tabs Scott Excel Worksheet Functions 1 December 5th 05 02:59 PM
Indirect used in an array formula Werner Rohrmoser Excel Worksheet Functions 3 July 23rd 05 04:03 PM


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