Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Updating Data in Validation Lists

Is there a way to automatically update data in a validation list when the
data changes in the sourced cells? for instance if A1 is the validation list
that display data sourced from A2, if data in A2 changes, I would A1 to
display the new data. Currently, it does not, and only shows the old data.
I have to click on the drop down box and click on the new data for it to
display. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Updating Data in Validation Lists

If you want A1 to update auto based on value in A2, use a vlookup or
index/match in A1 to lookup A2. Don't use a DV.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"kivikatz" wrote:
Is there a way to automatically update data in a validation list when the
data changes in the sourced cells? for instance if A1 is the validation list
that display data sourced from A2, if data in A2 changes, I would A1 to
display the new data. Currently, it does not, and only shows the old data.
I have to click on the drop down box and click on the new data for it to
display. Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Updating Data in Validation Lists

Actually, I'm using a DV because I am referencing data in A1 from more than
one cell, i.e., A2, A3, and A4. However, when I leave A1 to display the A2
data, I would like it to update changes in A2, and like wise for the other
cells (A3, A4).

"Max" wrote:

If you want A1 to update auto based on value in A2, use a vlookup or
index/match in A1 to lookup A2. Don't use a DV.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"kivikatz" wrote:
Is there a way to automatically update data in a validation list when the
data changes in the sourced cells? for instance if A1 is the validation list
that display data sourced from A2, if data in A2 changes, I would A1 to
display the new data. Currently, it does not, and only shows the old data.
I have to click on the drop down box and click on the new data for it to
display. Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Updating Data in Validation Lists

Could you give examples to better illustrate your set-up. What exactly do
you have in A1, A2, A3, A4 ?
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"kivikatz" wrote in message
...
Actually, I'm using a DV because I am referencing data in A1 from more
than
one cell, i.e., A2, A3, and A4. However, when I leave A1 to display the
A2
data, I would like it to update changes in A2, and like wise for the other
cells (A3, A4).



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Updating Data in Validation Lists

See Debra's response for the answer that you seek.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default Updating Data in Validation Lists

I've done this using a dynamic range in the past. Let's say a title for the
validation list is in Sheet1!A1 and the list is in cells Sheet1!A2:An (I'm
also assuming that there is nothing after the last entry to the bottom of the
worksheet)

Do this:

Insert - Name - Define
Enter a name for the range .. Let's call it ValidationList

In the Refers to section, put this:

=OFFSET(Sheet1!$A$1,1,0,COUNTA(Sheet1!$A:$A)-1,1)

and add the named range.

Sheet1!$A$1 is the reference to start the range
1 is the # of rows down to offset the range from the reference.
0 is the # of columns to offset the range from the reference
Counta() is the count of the # of rows to include in the range
1 is the # of columns to include in the range

TO check that it's correct, you can do CTRL G and type in ValidationList.

Once the list is working properly, you can set up your data validation to be
a list and the source is =ValidationList



"kivikatz" wrote:

Is there a way to automatically update data in a validation list when the
data changes in the sourced cells? for instance if A1 is the validation list
that display data sourced from A2, if data in A2 changes, I would A1 to
display the new data. Currently, it does not, and only shows the old data.
I have to click on the drop down box and click on the new data for it to
display. Thanks.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Updating Data in Validation Lists

Barb,

I'm not sure that a dynamic range for the DV will do it here

To me, the OP's key point was:
I have to click on the drop down box
and click on the new data for it to display.


Even with a dynamic range, this won't change what's already selected in A1.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,979
Default Updating Data in Validation Lists

There's a sample workbook here that might help you:

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

Under Data Validation, look for 'DV0022 - Update Validation Selections'

kivikatz wrote:
Is there a way to automatically update data in a validation list when the
data changes in the sourced cells? for instance if A1 is the validation list
that display data sourced from A2, if data in A2 changes, I would A1 to
display the new data. Currently, it does not, and only shows the old data.
I have to click on the drop down box and click on the new data for it to
display. Thanks.



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

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
data validation lists step_andy Excel Discussion (Misc queries) 4 March 13th 07 03:52 AM
Data Validation - Using 2 Lists scott56hannah Excel Discussion (Misc queries) 1 October 18th 06 12:49 PM
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM
Data Validation Lists Mike Excel Discussion (Misc queries) 1 May 2nd 06 07:22 PM
data validation lists [email protected] Excel Discussion (Misc queries) 5 June 25th 05 07:44 PM


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