Duration

G

Guest

I have a field in time format of hh:mm:ss, which I've custom formated to [m]
to get total duration minutes. My problem is I need the seconds to round up
if they are more than 30. Is there a way to do this? I use this field for
conference call billing, if that helps.

Example:

47:05:35 formated to [m] reads 2825 and I need it to read 2826
 
G

Guest

You can use a help column, since you want 30 seconds to round down you can use

=IF(MOD(A1*1440,1)>0.5,ROUND(A1*1440,0.5),FLOOR(A1*1440,1))

if you want regular rounding rules

=ROUND(A1*1440,0.5)

which means 30 secs (or 0.5 minute) rounds up and everything less rounds down

Regards,

Peo Sjoblom
 
G

Guest

Lovely! I just needed the "regular rounding rules". Thank you so much!

Peo Sjoblom said:
You can use a help column, since you want 30 seconds to round down you can use

=IF(MOD(A1*1440,1)>0.5,ROUND(A1*1440,0.5),FLOOR(A1*1440,1))

if you want regular rounding rules

=ROUND(A1*1440,0.5)

which means 30 secs (or 0.5 minute) rounds up and everything less rounds down

Regards,

Peo Sjoblom



Tess said:
I have a field in time format of hh:mm:ss, which I've custom formated to [m]
to get total duration minutes. My problem is I need the seconds to round up
if they are more than 30. Is there a way to do this? I use this field for
conference call billing, if that helps.

Example:

47:05:35 formated to [m] reads 2825 and I need it to read 2826
 

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