Time format problem

thegooser123

New Member
Joined
Nov 10, 2010
Messages
25
Hi all...

I have a columm representing time but formatted as a number like this 20.30 represents 8:30pm or 20:30.

20.50 is 8:50pm or 20:50. I can only find a formula that changes it from decimal to time but my 20.50 would turn into 20:30 as it changes it to twenty and a half.

Bassically, is there any way to change my numbers to time?
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
20:30 is the desired result, is it not?

What's the formula you're using?
 
Upvote 0
Try this (assuming A1 contains your value):

=TIME(INT(A1),(A1-INT(A1))*100,0)

Let us know if this works for you.

Gary
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,813
Members
452,945
Latest member
Bib195

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