Convert Total OT Hour Conditionally?

xlmaniac

Well-known Member
Joined
Jul 2, 2009
Messages
500
Office Version
  1. 2010
Platform
  1. Windows
Dear All,
I have the following sample Monthly OT Hour(Aggregated) which I need to covert as follows:-
Could somebody help me out with the formula pls?
Sample data set along with the desired results as follows:-

30:50:00=31:00
30:29:00=30:00

Regards
 

Some videos you may like

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

xlmaniac

Well-known Member
Joined
Jul 2, 2009
Messages
500
Office Version
  1. 2010
Platform
  1. Windows
Re: How To Convert Total OT Hour Conditioallly?

What are you trying to do?

I need to convert the aggregated monthly OT hours based on 30 Min division.
For example if the OT hour is 40:20,it should convert the same to 40:00 hours
if the OT hour is 40:50, it should convert the same to 41 hours.
Like the formula should be able to convert all OT Hours based on this logic.
Thanks
 

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,350

ADVERTISEMENT

Re: How To Convert Total OT Hour Conditioallly?

Nope, doesnt work with your recent example
 

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,350
Re: How To Convert Total OT Hour Conditioallly?

This works, test for some other examples

=MROUND(A1,"1:00:00")
 

xlmaniac

Well-known Member
Joined
Jul 2, 2009
Messages
500
Office Version
  1. 2010
Platform
  1. Windows

ADVERTISEMENT

Re: How To Convert Total OT Hour Conditioallly?

Nope, doesnt work with your recent example

Thanks for your support.
I have checked but it is not yielding the desired result.
Could you pls suggest some other formula?
Thanks
 

xlmaniac

Well-known Member
Joined
Jul 2, 2009
Messages
500
Office Version
  1. 2010
Platform
  1. Windows
Re: How To Convert Total OT Hour Conditioallly?

I tried with MROUND before(with 1:00) but it is populating the incremental Hour over and above 24 Hours.
Pls help.
 

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,350
Re: How To Convert Total OT Hour Conditioallly?

I tried with MROUND before(with 1:00) but it is populating the incremental Hour over and above 24 Hours.
Pls help.

Am not sure what you mean.
It works for the examples you gave, hence my comment of trying other examples.
 

xlmaniac

Well-known Member
Joined
Jul 2, 2009
Messages
500
Office Version
  1. 2010
Platform
  1. Windows
Re: How To Convert Total OT Hour Conditioallly?

Am not sure what you mean.
It works for the examples you gave, hence my comment of trying other examples.

It is now working.
It was an formatting error which after correction is yielding desired result.
Thanks a lot for your support & time.
Really appreciate the same.
Regards
 

Watch MrExcel Video

Forum statistics

Threads
1,108,753
Messages
5,524,641
Members
409,597
Latest member
Dannydev

This Week's Hot Topics

Top