Convert Total OT Hour Conditionally?

xlmaniac

Well-known Member
Joined
Jul 2, 2009
Messages
527
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
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
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
 
Upvote 0
Re: How To Convert Total OT Hour Conditioallly?

Nope, doesnt work with your recent example
 
Upvote 0
Re: How To Convert Total OT Hour Conditioallly?

This works, test for some other examples

=MROUND(A1,"1:00:00")
 
Upvote 0
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
 
Upvote 0
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.
 
Upvote 0
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.
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,214,647
Messages
6,120,722
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top