Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Restrict entry in one cell based on second cell

I need to restrict entry to a cell if the cell next to it has something in
it. Only one entry per line. I see I can use data validation but not sure
what to put in there!

Thanks in advance for help!
Carol

A B
Federal Other
1 2
2 2
3 2
4 2
5 2
6
7 5
8
9 1

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,388
Default Restrict entry in one cell based on second cell

Hi Carol,
Try this.
I have assumed your data starts in Row 2

Select all the data in Col A
In data valadation, select Custom
In the formula box enter: =IF($B2<"","")
Click OK

Select all the data in Col B
In data valadation, select Custom
In the formula box enter: =IF($A2<"","")
Click OK

Hope this helps.
Regards - Dave.





"Carol Sitea" wrote:

I need to restrict entry to a cell if the cell next to it has something in
it. Only one entry per line. I see I can use data validation but not sure
what to put in there!

Thanks in advance for help!
Carol

A B
Federal Other
1 2
2 2
3 2
4 2
5 2
6
7 5
8
9 1

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
Restrict cell entry until another cell has random text Forum freak \(at work\) Excel Discussion (Misc queries) 3 October 24th 08 04:19 PM
restricting entry into a cell based on entry to a previous cell newbie57 New Users to Excel 1 June 9th 08 05:43 PM
lock cell conditional format but not restrict data entry GAM Excel Worksheet Functions 1 August 18th 07 06:53 AM
How can I restrict a cell(s) to alpha-only data entry? Robert T Excel Discussion (Misc queries) 2 January 10th 07 10:55 PM
How do I restrict entry into a cell to only alpha/numeric? SusanMurray Excel Worksheet Functions 3 May 5th 06 03:23 PM


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