Ceilling or round function?
=if(A1<=TimeValue("0:30"),TimeValue("0:30"),if(A1< =TimeValue("1:00"),TimeValue("1:00"),A1))*B1
where the time is in A1 and the rate in B1. -- Regards, Tom Ogilvy "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 10:43 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com