LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default Use of Indirect function in Data Validation List

Bob,
Yes, If Named Range "Fruits" Refers to range=OFFSET(Sheet1!$H$2,,,20,1)
and in Data Validation List source: = Fruits it works
but if you put "Fruits" in B2 and try to Validate C2 with
List source: =Indirect(B2) it want.
but If Named Range "Fruits" Refers to range=Sheet1!$H$2:$H$21
and if you put "Fruits" in B2 and try to Validate C2 with
List source: =Indirect(B2) it works.
Is there a way around to have
Named Range "Fruits" Refers to range=OFFSET(Sheet1!$H$2,,,20,1)
and List source: =Indirect("Fruits") get going.
Regards,
Cecil

"Bob Phillips" wrote in message
...
Cecil,

The second does not work probably due to being set at a different cell

than
used in, so the range will refer elsewhere.

On the third, this works fine for me

=OFFSET(Sheet1!$H$2,,,20,1)

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Cecilkumara Fernando" <cekufdo@sltnetDOTlk wrote in message
...
Hi All,
This may be a known issue but I came across today.
The named range should be an absolute one for indirect function to work

else
it will produce an error.
Name- Fruits Refers to range=Sheet1!$H$1:$H$20
=Indirect("Fruits") works fine
Name- Fruits Refers to range=Sheet1!H1:H20
=Indirect("Fruits") raise a #value error
Name- Fruits Refers to range=OFFSET(Sheet1!$H$2,0,0,20,1)
=Indirect("Fruits") raise a #ref! error
any work around to get a dynamic range as a list for Data Validation???

Regards,
Cecil







 
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
Indirect validation list with blank in list RT Excel Discussion (Misc queries) 3 June 5th 09 02:36 AM
Using If Function with a Data Validation List BillyT Excel Discussion (Misc queries) 1 July 1st 08 11:28 PM
Indirect List Data validation Steve_n_KC Excel Discussion (Misc queries) 3 August 7th 07 07:55 PM
data validation - indirect function Louise Excel Discussion (Misc queries) 1 November 8th 06 03:33 PM
Indirect formula using Data Validation List of Worksheet Tabs Scott Excel Worksheet Functions 1 December 5th 05 02:59 PM


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