Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Round function | Excel Discussion (Misc queries) | |||
Round up function | Excel Discussion (Misc queries) | |||
VB Function Round vs Excel function Round not behaving the same Od | Excel Programming | |||
Round function | Excel Programming | |||
VB Round( ) function | Excel Programming |