Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Convert part of decimal to time (minutes only)

For example I have 39:83. I want to convert to 39:49

I want to only convert the :83 decimal into minutes.

I am using the =text(value/24, "h:mm") but this is converting 39:83 to 13.49.

Please can anyone help ?
Thanks



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Convert part of decimal to time (minutes only)

I don't quite get the data, but use

[h]:mm instead of h:mm

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"RachelB" wrote in message
...
For example I have 39:83. I want to convert to 39:49

I want to only convert the :83 decimal into minutes.

I am using the =text(value/24, "h:mm") but this is converting 39:83 to
13.49.

Please can anyone help ?
Thanks





  #3   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Convert part of decimal to time (minutes only)

This will return 39.50
=INT(A1)&":"&(TEXT((A1-INT(A1))*100*0.6,"00"))


This will return 39.49
=INT(A1)&":"&(TEXT(ROUNDDOWN((A1-INT(A1))*100*0.6,0),"00"))

Vaya con Dios,
Chuck, CABGx3



"RachelB" wrote:

For example I have 39:83. I want to convert to 39:49

I want to only convert the :83 decimal into minutes.

I am using the =text(value/24, "h:mm") but this is converting 39:83 to 13.49.

Please can anyone help ?
Thanks



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Convert part of decimal to time (minutes only)

Thank You - although #Value error as demical data is 39:83 not 39.83.

Do I need to convert 39:83 to 39.83 first?? If so, can you help me ?

Thanks again
Rachel



"CLR" wrote:

This will return 39.50
=INT(A1)&":"&(TEXT((A1-INT(A1))*100*0.6,"00"))


This will return 39.49
=INT(A1)&":"&(TEXT(ROUNDDOWN((A1-INT(A1))*100*0.6,0),"00"))

Vaya con Dios,
Chuck, CABGx3



"RachelB" wrote:

For example I have 39:83. I want to convert to 39:49

I want to only convert the :83 decimal into minutes.

I am using the =text(value/24, "h:mm") but this is converting 39:83 to 13.49.

Please can anyone help ?
Thanks



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Convert part of decimal to time (minutes only)

Thanks Bob
Have tried this but doesn't work - is it my explanation you don't understand?
Rachel

"Bob Phillips" wrote:

I don't quite get the data, but use

[h]:mm instead of h:mm

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"RachelB" wrote in message
...
For example I have 39:83. I want to convert to 39:49

I want to only convert the :83 decimal into minutes.

I am using the =text(value/24, "h:mm") but this is converting 39:83 to
13.49.

Please can anyone help ?
Thanks








  #6   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Convert part of decimal to time (minutes only)

Sorry, my bad........can't read yet this morning without coffee.....

This one will work with the colon, even with 3-digit hours
=LEFT(A1,FIND(":",A1,1))&ROUNDDOWN(MID(A1,FIND(":" ,A1,1)+1,99)*0.6,0)



Vaya con Dios,
Chuck, CABGx3



"RachelB" wrote:

Thank You - although #Value error as demical data is 39:83 not 39.83.

Do I need to convert 39:83 to 39.83 first?? If so, can you help me ?

Thanks again
Rachel



"CLR" wrote:

This will return 39.50
=INT(A1)&":"&(TEXT((A1-INT(A1))*100*0.6,"00"))


This will return 39.49
=INT(A1)&":"&(TEXT(ROUNDDOWN((A1-INT(A1))*100*0.6,0),"00"))

Vaya con Dios,
Chuck, CABGx3



"RachelB" wrote:

For example I have 39:83. I want to convert to 39:49

I want to only convert the :83 decimal into minutes.

I am using the =text(value/24, "h:mm") but this is converting 39:83 to 13.49.

Please can anyone help ?
Thanks



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Convert part of decimal to time (minutes only)

No it was the conversion of the string you seem to effectr. Try this

=TEXT(SUBSTITUTE(A1,":",".")/24,"[h]:mm")

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"RachelB" wrote in message
...
Thanks Bob
Have tried this but doesn't work - is it my explanation you don't
understand?
Rachel

"Bob Phillips" wrote:

I don't quite get the data, but use

[h]:mm instead of h:mm

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"RachelB" wrote in message
...
For example I have 39:83. I want to convert to 39:49

I want to only convert the :83 decimal into minutes.

I am using the =text(value/24, "h:mm") but this is converting 39:83 to
13.49.

Please can anyone help ?
Thanks








  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Convert part of decimal to time (minutes only)

Fantastic - thank you very much.
Happy Christmas.
Rachel

"CLR" wrote:

Sorry, my bad........can't read yet this morning without coffee.....

This one will work with the colon, even with 3-digit hours
=LEFT(A1,FIND(":",A1,1))&ROUNDDOWN(MID(A1,FIND(":" ,A1,1)+1,99)*0.6,0)



Vaya con Dios,
Chuck, CABGx3



"RachelB" wrote:

Thank You - although #Value error as demical data is 39:83 not 39.83.

Do I need to convert 39:83 to 39.83 first?? If so, can you help me ?

Thanks again
Rachel



"CLR" wrote:

This will return 39.50
=INT(A1)&":"&(TEXT((A1-INT(A1))*100*0.6,"00"))


This will return 39.49
=INT(A1)&":"&(TEXT(ROUNDDOWN((A1-INT(A1))*100*0.6,0),"00"))

Vaya con Dios,
Chuck, CABGx3



"RachelB" wrote:

For example I have 39:83. I want to convert to 39:49

I want to only convert the :83 decimal into minutes.

I am using the =text(value/24, "h:mm") but this is converting 39:83 to 13.49.

Please can anyone help ?
Thanks



  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Convert part of decimal to time (minutes only)

Maybe you need this (provided that hours and minutes are always two digit
long):
=LEFT(A1,2)*(1/24)+(RIGHT(A1,2)/100)*(1/24)
and format the result cell like [h]:mm

Regards,
Stefi


RachelB ezt *rta:

For example I have 39:83. I want to convert to 39:49

I want to only convert the :83 decimal into minutes.

I am using the =text(value/24, "h:mm") but this is converting 39:83 to 13.49.

Please can anyone help ?
Thanks



  #10   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Convert part of decimal to time (minutes only)

You're welcome, thanks for the feedback.

Merry Christmas to you and yours as well.........

Vaya con Dios,
Chuck, CABGx3



"RachelB" wrote:

Fantastic - thank you very much.
Happy Christmas.
Rachel

"CLR" wrote:

Sorry, my bad........can't read yet this morning without coffee.....

This one will work with the colon, even with 3-digit hours
=LEFT(A1,FIND(":",A1,1))&ROUNDDOWN(MID(A1,FIND(":" ,A1,1)+1,99)*0.6,0)



Vaya con Dios,
Chuck, CABGx3



"RachelB" wrote:

Thank You - although #Value error as demical data is 39:83 not 39.83.

Do I need to convert 39:83 to 39.83 first?? If so, can you help me ?

Thanks again
Rachel



"CLR" wrote:

This will return 39.50
=INT(A1)&":"&(TEXT((A1-INT(A1))*100*0.6,"00"))


This will return 39.49
=INT(A1)&":"&(TEXT(ROUNDDOWN((A1-INT(A1))*100*0.6,0),"00"))

Vaya con Dios,
Chuck, CABGx3



"RachelB" wrote:

For example I have 39:83. I want to convert to 39:49

I want to only convert the :83 decimal into minutes.

I am using the =text(value/24, "h:mm") but this is converting 39:83 to 13.49.

Please can anyone help ?
Thanks





  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Convert part of decimal to time (minutes only)

Great - that works - thanks very much !

"Bob Phillips" wrote:

No it was the conversion of the string you seem to effectr. Try this

=TEXT(SUBSTITUTE(A1,":",".")/24,"[h]:mm")

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"RachelB" wrote in message
...
Thanks Bob
Have tried this but doesn't work - is it my explanation you don't
understand?
Rachel

"Bob Phillips" wrote:

I don't quite get the data, but use

[h]:mm instead of h:mm

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"RachelB" wrote in message
...
For example I have 39:83. I want to convert to 39:49

I want to only convert the :83 decimal into minutes.

I am using the =text(value/24, "h:mm") but this is converting 39:83 to
13.49.

Please can anyone help ?
Thanks









Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert hours format to decimal or minutes (exp. 1:15:00 = 75 min. hard working andy w Excel Worksheet Functions 6 August 9th 07 04:38 PM
Convert Decimal hours and Minutes to minutes please. Steved Excel Worksheet Functions 13 July 5th 06 05:33 AM
Convert degrees at 'Minutes' format. i.e. 43° 22', to Decimal Dan Excel Discussion (Misc queries) 1 April 4th 06 11:09 AM
How do i convert angles from degrees,minutes, seconds to decimal morne Excel Discussion (Misc queries) 1 November 23rd 05 02:09 PM
convert decimal number to time : convert 1,59 (minutes, dec) to m agenda9533 Excel Discussion (Misc queries) 8 January 20th 05 10:24 PM


All times are GMT +1. The time now is 01:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"