Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Multi-conditional user defined function

Hi,

How would I go about writing a User Defined Function that would allow
me to calculate night shift premiums for the following?

I have a list made up of 3 groups of employees:
GroupA, GroupB and GroupC.

Employees in GroupA and GroupB work a variety of shifts:
Days 6 hours,
Days 8 hours,
Days 12 hours,
Evenings 8 hours,
Nights 8 hours,
Nights 12 hours

Group C always works Days 8 hours.
Night shift premiums are paid only to groupA and GroupB as follows:

GroupA – Days 12 hours .90 cents for the shift
Nights 12 hours - $6.45 for the shift

GroupB- Nights 12 hours – $6.49 for the shift
Nights 8 hours - $4.28 for the shift

GroupC – no premiums are paid

Any help much appreciated

Gerr


---
Message posted from http://www.ExcelForum.com/

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
user defined function tom_mcd Excel Worksheet Functions 1 January 6th 09 06:23 PM
User-defined data type; Error: Only User-defined types... tiger_PRM Excel Programming 1 July 18th 04 03:32 PM
User defined function Carlos Paez Excel Programming 1 June 24th 04 02:18 AM
Can I use a User-Defined Funcion in a Conditional Format formula? Sally[_4_] Excel Programming 3 October 3rd 03 06:15 PM
User-Defined Function pre-empting Built-in Function? How to undo???? MarWun Excel Programming 1 August 6th 03 09:31 PM


All times are GMT +1. The time now is 04:21 AM.

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"