Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,726
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Round function plantslayer Excel Discussion (Misc queries) 3 June 4th 08 05:49 PM
Ceilling or round function? Tom Ogilvy Excel Programming 0 December 8th 06 05:03 PM
Round Len Function Help [email protected] Excel Worksheet Functions 16 August 25th 06 04:27 AM
VB Function Round vs Excel function Round not behaving the same Od Bud Excel Programming 5 August 18th 06 05:39 AM
how do i set up round function run superman Excel Worksheet Functions 1 October 6th 05 08:13 PM


All times are GMT +1. The time now is 08:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"