Data Validation

trebor1956

Board Regular
Joined
Jul 2, 2015
Messages
100
Office Version
  1. 2013
Platform
  1. Windows
Hi, I have a s/sheet for entering time in format [h]:mm

Is there a way a data validation that I can ensure users enter the time as hour : mins (using a colon) instead of accidentally using hour . mins ?

Many thanks
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
yes, there is way by using Data Validation -Allow---> "Time" --> Between (Data option).
 
Upvote 0
Hi MUKESHY12390,

I have looked at that option but I can't get it to work. Because an amount of time is what is being entered it could be from 1 minute up to 24 hours. Using the validation you suggest I can't put in 24:0 I get an error msg saying "must enter a valid end time"
 
Upvote 0
Hi,

Thanks. That does work. I was hoping there was a way to simply enforce using a colon and then supplying any number of hours. However, your solution will work for me, many thanks.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top