Need to calcualte secounds to the next 1/2 minute

  • Thread starter Thread starter Paul D
  • Start date Start date
Hi
do you enter the seconds as Excel time or a numeric value? If you enter
them as numeric values use the following formula
=ROUNDUP((Z1/60)*2,0)/2
 
Never understood why people are using roundup when ceiling is the more
effective

=CEILING(Z1/60,0.5)

--
For everyone's benefit keep the discussion in the newsgroup.

Regards,

Peo Sjoblom
 
One way:

To return the value in seconds:

=CEILING(Z1,30) ==> 30

To return the value in minutes:

=CEILING(Z1/60,0.5) ==> 0.5

If you want the value as a time:

=TIME(0,0,CEILING(Z1,30)) ==> 00:00:30

when formatted as hh:mm:ss
 
I was just joking, although it is less calculations and easier to use IMHO

--
For everyone's benefit keep the discussion in the newsgroup.

Regards,

Peo Sjoblom
 
Hi
totally agree with you :-)
but getting older it's getting difficult to rember new things <vbg>
 
Back
Top