custom format text to time

paul w

Board Regular
Joined
Apr 25, 2010
Messages
195
hello,
im not even sure if this is possible, on my time sheet I have to enter the hours used as eg. 38 hrs 00 mins.
ive managed to sort a custom format [hh] "hrs" mm "mins" to format. 38:00 to , "38 hrs 00 mins"
is there any way of formatting the cell so all i have to enter is 3800 without the colon and it would change to 38 hrs 00 mins,
the rest of my times are entered as 24hr so i use the formatting 00\:00 it is only this one section about 30 cells that payroll require it as hrs mins,
thanks in advance
paul
 
solved.
thanks everyone for your help, the VBA route would have been a lot easier but unfortunately our payroll dept.firewall sometimes kicks out macro enabled time sheets
 
Upvote 0

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,216,105
Messages
6,128,861
Members
449,472
Latest member
ebc9

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