Converting hours to minutes and using the result...

S

Serdar Aytemiz

Hello

I have been reading the time converting threads, but all of them use formatting the cell to show the result. and formated results cant be used in formula
Why do I need this. I have per minute payment figure. there for I have a formula as follows

(usage minutes)*(perminute price

the times are entered as 02:05 (hr:mn). I need a formula that gives me 125 (minutes) in the cell not by formatting. I need the actual number to work with. I have done this by using convert to text then using the left 2 and right 2 letters and do a calculation. I am sure there is an easier way

Best wishes

Serdar Aytemi
 
J

Jason Morin

=TEXT(A1,"[m]")

HTH
Jason
Atlanta, GA

-----Original Message-----
Hello,

I have been reading the time converting threads, but all
of them use formatting the cell to show the result. and
formated results cant be used in formula.
Why do I need this. I have per minute payment figure.
there for I have a formula as follows;
(usage minutes)*(perminute price)

the times are entered as 02:05 (hr:mn). I need a formula
that gives me 125 (minutes) in the cell not by
formatting. I need the actual number to work with. I have
done this by using convert to text then using the left 2
and right 2 letters and do a calculation. I am sure there
is an easier way.
 
F

Felipe

Serdar,

You can use:

=HOUR(A1)*60+MINUTE(A1)

HTH,
Felipe
-----Original Message-----
Hello,

I have been reading the time converting threads, but all
of them use formatting the cell to show the result. and
formated results cant be used in formula.
Why do I need this. I have per minute payment figure.
there for I have a formula as follows;
(usage minutes)*(perminute price)

the times are entered as 02:05 (hr:mn). I need a formula
that gives me 125 (minutes) in the cell not by
formatting. I need the actual number to work with. I have
done this by using convert to text then using the left 2
and right 2 letters and do a calculation. I am sure there
is an easier way.
 
A

Aladin Akyurek

=(A1*1440)*RatePerMinute

where A1 houses a true time value (hh:mm).

Serdar Aytemiz said:
Hello,

I have been reading the time converting threads, but all of them use
formatting the cell to show the result. and formated results cant be used in
formula.
Why do I need this. I have per minute payment figure. there for I have a formula as follows;

(usage minutes)*(perminute price)

the times are entered as 02:05 (hr:mn). I need a formula that gives me
125 (minutes) in the cell not by formatting. I need the actual number to
work with. I have done this by using convert to text then using the left 2
and right 2 letters and do a calculation. I am sure there is an easier way.
 

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