Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default If A1 is empty, then delete the cell I'm in - with data validatio

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!
  #2   Report Post  
Posted to microsoft.public.excel.programming
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!



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
If cell empty delete row Clive[_2_] Excel Discussion (Misc queries) 1 November 8th 09 12:51 AM
Delete row with empty cell in column Gene Augustin Excel Discussion (Misc queries) 4 March 8th 09 08:03 AM
Delete Empty Cell With Formula [email protected] Excel Discussion (Misc queries) 4 January 26th 08 03:02 PM
Delete empty rows in list of data sswcharlie1 Excel Programming 5 January 7th 07 08:43 AM
Delete record if cell is empty Metrazal[_2_] Excel Programming 3 February 21st 06 09:43 PM


All times are GMT +1. The time now is 03:33 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"