View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Bernard Liengme Bernard Liengme is offline
external usenet poster
 
Posts: 4,393
Default If A1 is empty, then delete the cell I'm in - with data validatio

Not sure if this will satisfy:
In H1:H10 I have the valid entries
In I1 I have the formula =IF(ISBLANK($A$1),"",H1) which I copy down to I10
I name I1:I10 as OKlist
In Data Validation I specify OKlist
Now, OKLIst will have values in it if A1 is non-blank otherwise the list
hold 10 blanks
However, I can still type invalid entries in B1 when A1 is blank
I could use Conditional Formatting to make the cell red under these
conditions
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Shelly" wrote in message
...
Hello,

I have a cell (B1) that is using data validation to a named list.
I want to also put a condition on the cell (B1) that if a particular other
cell (A1) is empty, then this cell (B1) is empty too. But, the data
validation won't let me put a forumula into the cell (B1).

How can I put a formula into a cell that is 'protected' by data
validation?

Thanks!