Solved

# Input masks in Excel

Posted on 2003-02-21
Medium Priority
247 Views
I need to input times, either in minute/seconds/tenths or just seconds/tenths and then rank those times fastest to slowest.

Is there a mask I can use so that I don't need to repeatedly type a colon or a point, but which will still allow me to sort entries?
0
Question by:kiwi246
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• Learn & ask questions

LVL 16

Accepted Solution

sebastienm earned 300 total points
ID: 7997648
Directly, without using vba code.. i don't know, but if adding a column is ok.

Assuming you enter as 66.2 for 1 mn 6 s 2 tenth
Say you type in column A, starting in A2
- Format column B as (in Format dialog box)
Category:   Time
Type    :   30:55.7
equivalent to
Category: Custom
Type    : mm:ss.0
- In B2, enter : =A2 * "00:00:01"
- Copy formula B2 down the <future> data

Now you can sort on column B.

Maybe someone will find a better way.

Regards,
Sebastien
0

LVL 43

Expert Comment

ID: 7998092
That works well, I'd try that if you need it to display as time aswell.  You can always just sort on column A though if you've got 66.2 type entries :-)

Other than that its VBA like Sebastien said where you can have it change what you type into something else but that is probably over complicating things for this one.

You could also enter as:

125.4
to mean 1 minute 25.4 seconds using this formula:
=INT(A1/100) * 60 + A1-(INT(A1/100)*100)

or 1254
to mean 1 minute 25.4 seconds using this formula:
=INT(A2/1000) * 60 + (A2-(INT(A2/1000)*1000))/10

but unless you can't just enter in seconds I'd use sebastien's method!

Steve
0

LVL 44

Expert Comment

ID: 9283562
This question has been classified as abandoned.  I will make a recommendation to the moderators on its resolution in the next round.  I would appreciate any comments by the experts that would help me in making a recommendation.

It is assumed that any participant not responding to this request is no longer interested in its final deposition.

If the asker does not know how to close the question, the options are here:
http://www.experts-exchange.com/help/closing.jsp

PLEASE DO NOT ACCEPT THIS COMMENT AS ANSWER

HAGD:O)Bruintje
EE Cleanup Volunteer
0

LVL 15

Expert Comment

ID: 9582811
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

PAQ \ Answered by Sebastienm
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

dbase118
EE Cleanup Volunteer
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
###### Suggested Courses
Course of the Month9 days, 12 hours left to enroll

#### 762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.