Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

data validation

ResolvedVersion 365

Ryan has attended:
Excel Advanced course

Data Validation

Is there a way through data validation that we can only accept time formats of hh:mm rather than hh:mm:ss?

RE: Data Validation

Hi Ryan,

Thank you for the forum question and thee nice feedback.

Select the range. Click Data Validation Allow select Custom and type the formula below.


=A2=TEXT(A2,"hh:mm")+0

Here I use A2 but you will need to change the cell references to the first cell in your selected range.


Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Excel tip:

Create a unique items table from a duplicating table

1. Ensure that your list has column headings
2. Select the entire list
3. From the menu bar, select DATA, FILTER, ADVANCED FILTER
4. Select "Filter the list, in place", and tick the "Unique Records Only" box
5. Click OK, filtered list appears.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.