ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how can i convert a value quoted in hrs,mins,secs to just mins (https://www.excelbanter.com/excel-worksheet-functions/114727-how-can-i-convert-value-quoted-hrs-mins-secs-just-mins.html)

The man from delmonte

how can i convert a value quoted in hrs,mins,secs to just mins
 
I want to calculate the cost of phone calls where I have the duration in Hrs,
mins and secs and I also have the cost per minute. Do i need to convert to
minutes only first?

vezerid

how can i convert a value quoted in hrs,mins,secs to just mins
 
If A2 holds the duration in hh:mm:ss and B2 holds the cost per minute,
then the total cost is given by:

=A2*24*60*B2

If a conversation of, say, 30 seconds is charged as a full minute then
you need

=CEILING(A2*24*60,1)*B2

HTH
Kostis Vezerides

The man from delmonte wrote:
I want to calculate the cost of phone calls where I have the duration in Hrs,
mins and secs and I also have the cost per minute. Do i need to convert to
minutes only first?




All times are GMT +1. The time now is 07:53 PM.

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