Ceilling or round function?
=MAX(MIN(CEILING(A1,1/48),1/24),A1)
-- --- HTH Bob (change the xxxx to gmail if mailing direct) "Paul" wrote in message ... Newbie question. In cell A1, I have numbers of hours done by employees. In cell B2, I want to put the actual hours we will pay an employe with the following rules: - Between 0 and 30 minutes = we pay 0.5 hours - Between 31 and 60 minutes = we pay 1 hour - Over 60 minutes = we pay the actual time Having trouble with the formula...please help. Paul |
All times are GMT +1. The time now is 05:10 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com