ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Time - converting HH:MM:SS to Minutes (https://www.excelbanter.com/excel-worksheet-functions/8896-time-converting-hh-mm-ss-minutes.html)

Noel S Pamfree

Time - converting HH:MM:SS to Minutes
 
Is there a way I can use a time entered in a cell in the format hh:mm:ss and
convert it into a decimal of minutes?

I have tried using the 'Time' function but can only get it to work if I
enter each of the three parts in separate columns.

Thanks

Noel




Dave Peterson

You could use a helper cell with a formula:

=A1*24*60
(Format it as general, though)



Noel S Pamfree wrote:

Is there a way I can use a time entered in a cell in the format hh:mm:ss and
convert it into a decimal of minutes?

I have tried using the 'Time' function but can only get it to work if I
enter each of the three parts in separate columns.

Thanks

Noel


--

Dave Peterson

Noel S Pamfree

That is an amazing trick Dave, worked first time - Thanks!


"Dave Peterson" wrote in message
...
You could use a helper cell with a formula:

=A1*24*60
(Format it as general, though)



Noel S Pamfree wrote:

Is there a way I can use a time entered in a cell in the format hh:mm:ss
and
convert it into a decimal of minutes?

I have tried using the 'Time' function but can only get it to work if I
enter each of the three parts in separate columns.

Thanks

Noel


--

Dave Peterson




Dave Peterson

If you want to learn more about how excel treats dates and times, visit Chip
Pearson's site:

http://www.cpearson.com/excel/datetime.htm

Noel S Pamfree wrote:

That is an amazing trick Dave, worked first time - Thanks!

"Dave Peterson" wrote in message
...
You could use a helper cell with a formula:

=A1*24*60
(Format it as general, though)



Noel S Pamfree wrote:

Is there a way I can use a time entered in a cell in the format hh:mm:ss
and
convert it into a decimal of minutes?

I have tried using the 'Time' function but can only get it to work if I
enter each of the three parts in separate columns.

Thanks

Noel


--

Dave Peterson


--

Dave Peterson


All times are GMT +1. The time now is 01:33 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com