Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Data Validation With Date Range

I have two cells for entering a date, "Start Date" and "End Date". I have
used Data Validation/Date to restrict both cells to only allow entry of
dates, and have also set "End Date" to be = start date to prevent a user
from entering an end date that is before the start date.

Is there a way to also restrict the "End Date" cell to only allow a user to
enter a value if there is a value in "Start Date"? Basically trying to force
the user to select the "Start Date" first.

Any suggestions would be much appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Data Validation With Date Range

This might help

http://www.ozgrid.com/forum/showthread.php?t=86494


DShaver wrote:
I have two cells for entering a date, "Start Date" and "End Date". I have
used Data Validation/Date to restrict both cells to only allow entry of
dates, and have also set "End Date" to be = start date to prevent a user
from entering an end date that is before the start date.

Is there a way to also restrict the "End Date" cell to only allow a user to
enter a value if there is a value in "Start Date"? Basically trying to force
the user to select the "Start Date" first.

Any suggestions would be much appreciated!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Data Validation With Date Range

A2: Start Date, B2: End Date

Data Validation on B2: =AND(COUNT(A2:B2)=2,B2=A2)



"DShaver" wrote:

I have two cells for entering a date, "Start Date" and "End Date". I have
used Data Validation/Date to restrict both cells to only allow entry of
dates, and have also set "End Date" to be = start date to prevent a user
from entering an end date that is before the start date.

Is there a way to also restrict the "End Date" cell to only allow a user to
enter a value if there is a value in "Start Date"? Basically trying to force
the user to select the "Start Date" first.

Any suggestions would be much appreciated!

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
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
dynamic range and data validation GSB Excel Worksheet Functions 3 July 17th 07 04:14 PM
Data Validation and Name Range Harry Stevens Excel Worksheet Functions 2 May 21st 07 06:59 PM
Data Validation range Nigel Excel Discussion (Misc queries) 2 December 15th 05 10:33 AM
Data Validation (in a range of cells) Andrew Lindsay via OfficeKB.com Excel Worksheet Functions 2 May 26th 05 09:42 PM


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