Link to home
Start Free TrialLog in
Avatar of VitalyNagy
VitalyNagy

asked on

Time input validation in Excel

How to set a validation rule to allow input of a time within, say +/-5 min of the current system time? (I know that one can ensure that with Shift-Ctrl+:, but nonetheless. Excel 2007.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Saurabh Singh Teotia
Saurabh Singh Teotia
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you test Saurabh's suggestion, make sure you subtract TODAY(). Otherwise, it fails to accept valid time entries.

Start time-->        =NOW()-TIME(,5,)-TODAY()

End Time-->         =NOW()+TIME(,5,)-TODAY()
Avatar of VitalyNagy
VitalyNagy

ASKER

The advice by Byundt is preferable as it accepts the shortcut. Thank you. Now, how can I spread this Custom validation over a range of cells without typing the cell address in each new cell?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial