Decimal numbers to time format.

L

Lee Grant

Hi there,

I'm sure this is a simple one for you guys but I'm not having fun trying to
get to the bottom of it.

I have two cells:

A1 - contains 47 (formatted as 'number to two decimal places')
B1 - contains 12 (formatted as 'number to two decimal places')

I have other cells formatted for time as [hh]:mm:ss

How can I fill C1 with 00:47:12 (formatted as [hh]:mm:ss) - with the 47 and
12 being pulled from A1 & B1

Cheers

Lee
 
R

Ron Rosenfeld

Hi there,

I'm sure this is a simple one for you guys but I'm not having fun trying to
get to the bottom of it.

I have two cells:

A1 - contains 47 (formatted as 'number to two decimal places')
B1 - contains 12 (formatted as 'number to two decimal places')

I have other cells formatted for time as [hh]:mm:ss

How can I fill C1 with 00:47:12 (formatted as [hh]:mm:ss) - with the 47 and
12 being pulled from A1 & B1

Cheers

Lee

=TIME(,A1,B1)

or

=A1/1440+B1/86400

and format the cells as [hh]:mm:ss


--ron
 
L

Lee Grant

One day I'm going to ask you something and you won't know the answer ;-)

I'd trawled the Excel help for a few hours on this one and now you've
pointed the solution out to me there has been lots of slapping of
foreheads!!

Many thanks again Ron,

Cheers

Lee

Ron Rosenfeld said:
Hi there,

I'm sure this is a simple one for you guys but I'm not having fun trying
to
get to the bottom of it.

I have two cells:

A1 - contains 47 (formatted as 'number to two decimal places')
B1 - contains 12 (formatted as 'number to two decimal places')

I have other cells formatted for time as [hh]:mm:ss

How can I fill C1 with 00:47:12 (formatted as [hh]:mm:ss) - with the 47
and
12 being pulled from A1 & B1

Cheers

Lee

=TIME(,A1,B1)

or

=A1/1440+B1/86400

and format the cells as [hh]:mm:ss


--ron
 
R

Ron Rosenfeld

One day I'm going to ask you something and you won't know the answer ;-)

Don't forget, I only respond to the questions to which I know the answer !!
I'd trawled the Excel help for a few hours on this one and now you've
pointed the solution out to me there has been lots of slapping of
foreheads!!

Many thanks again Ron,

You're welcome. Glad to help.
--ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top