LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Cell Validation

Hello

Can anyone help me with this ...

On a worksheet the user can enter one of two values in cell A1. These are
defined by a named range. For each of the three potential values a named
range exists called the name of the value in A1. Cell B1 uses these names to
populate a pop up list according the the value in A1 using the formula
=indirect(A1) as the validation range for cell B1.

As a simple example:

A1 only allows 'Dog' or 'Cat'

If A1 is 'Dog' then the pop up list for B1 shows 'Alsation, Beagle, Kelpie'

If A1 is 'Cat' then the pop up list for B1 shows 'Burmese, Siamese, Tabby'

All this works well.

The problem is that if the user enters values in A1 and B1 which follow
correct validation and then changes A1 to another value B1 remains as
previously entered - ie a value which is not valid for the value in A1, even
though the pop up list is now populated with the correct values for the new
value in A1.

To continue the example:
If the user enters Dog and selects Beagle then changes A1 from Dog to Cat,
Beagle is still showing in B1.

How can I make B1 go blank if A1 is changed?

A further complication is that there is a 'New Row' button which runs a
procedure which enters a new row correctly formatted so the solution for row
1 needs to be automatically applied to row 2.

All help greatly appeciated.

Thanks

Ted


 
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
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
Force entry into cell, based on validation selection in adjacent cell Richhall[_2_] Excel Worksheet Functions 3 June 18th 09 10:28 AM
Selecting a cell entry based on cell validation selection Brutalius Excel Worksheet Functions 2 December 17th 08 03:44 AM
data validation to restrict input in cell based on value of cell above that cell NC Excel Programming 2 January 25th 05 07:11 AM
Dynamically adding an in-cell drop-down list (i.e. Validation Object) to a cell? debartsa Excel Programming 5 March 5th 04 08:45 AM


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