Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default payroll record help

Hi Folks,

I am stumped as to limiting an "if" statement in my payroll spreadsheet.

basically, my wage rate is as follows...
* straight time (8 hrs.)
* time and a half after 8, till 10 hrs. (2hrs.)
* double time after 10

my problem is with limiting the "time & a half" collumn to 2 hrs.

D7=IF(B78,B7-8,0)

I'm not sure I'm being coherent with what I'm trying to relate to this
group, so I uploaded a sample of what I've got to the web for your viewing.
http://home.att.net/~thegeeze/

Any insight you could provide would be greatly appreciated.

thx


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 318
Default payroll record help

D7=IF(B7<=8,B7,if(B7<=10,8+(B7-8)*1.5,11+(b7-10)*2,0))

Alok Joshi


"atwest" wrote:

Hi Folks,

I am stumped as to limiting an "if" statement in my payroll spreadsheet.

basically, my wage rate is as follows...
* straight time (8 hrs.)
* time and a half after 8, till 10 hrs. (2hrs.)
* double time after 10

my problem is with limiting the "time & a half" collumn to 2 hrs.

D7=IF(B78,B7-8,0)

I'm not sure I'm being coherent with what I'm trying to relate to this
group, so I uploaded a sample of what I've got to the web for your viewing.
http://home.att.net/~thegeeze/

Any insight you could provide would be greatly appreciated.

thx



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default payroll record help

thx for the quick reply... but I can't get the formula you suggest to work.

"Alok" wrote in message
...
D7=IF(B7<=8,B7,if(B7<=10,8+(B7-8)*1.5,11+(b7-10)*2,0))



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 318
Default payroll record help

Apologize. The formula should be

=IF(B7<=8,B7,IF(B7<=10,8+(B7-8)*1.5,11+(B7-10)*2))

Alok Joshi

"atwest" wrote:

thx for the quick reply... but I can't get the formula you suggest to work.

"Alok" wrote in message
...
D7=IF(B7<=8,B7,if(B7<=10,8+(B7-8)*1.5,11+(b7-10)*2,0))




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default payroll record help

If what you want is the number of hours paid at time and a half, and the
number paid at double time then put this formula in D4 and drag down.

=IF(B4-C42,2,B4-C4)

Then put this in E4 and drag down

=IF(D4=0,0,B4-C4-D4)

Mike F
"atwest" wrote in message
...
Hi Folks,

I am stumped as to limiting an "if" statement in my payroll spreadsheet.

basically, my wage rate is as follows...
* straight time (8 hrs.)
* time and a half after 8, till 10 hrs. (2hrs.)
* double time after 10

my problem is with limiting the "time & a half" collumn to 2 hrs.

D7=IF(B78,B7-8,0)

I'm not sure I'm being coherent with what I'm trying to relate to this
group, so I uploaded a sample of what I've got to the web for your
viewing.
http://home.att.net/~thegeeze/

Any insight you could provide would be greatly appreciated.

thx





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default payroll record help

thank you... thank you... thank you...
That is just what I was looking for.

"Mike Fogleman" wrote in message
...
If what you want is the number of hours paid at time and a half, and the
number paid at double time then put this formula in D4 and drag down.

=IF(B4-C42,2,B4-C4)

Then put this in E4 and drag down

=IF(D4=0,0,B4-C4-D4)

Mike F
"atwest" wrote in message
...
Hi Folks,

I am stumped as to limiting an "if" statement in my payroll spreadsheet.

basically, my wage rate is as follows...
* straight time (8 hrs.)
* time and a half after 8, till 10 hrs. (2hrs.)
* double time after 10

my problem is with limiting the "time & a half" collumn to 2 hrs.

D7=IF(B78,B7-8,0)

I'm not sure I'm being coherent with what I'm trying to relate to this
group, so I uploaded a sample of what I've got to the web for your
viewing.
http://home.att.net/~thegeeze/

Any insight you could provide would be greatly appreciated.

thx





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
Open new record with selected fields from previous record Design by Sue Excel Discussion (Misc queries) 1 June 12th 09 02:24 PM
Adding payroll stubs payroll calculator Sable New Users to Excel 2 August 5th 06 05:37 PM
Finding last record in month for each of several types of record. Richard Buttrey Excel Programming 5 April 4th 05 02:11 AM
Record Macro - Record custom user actions Sal[_4_] Excel Programming 1 December 23rd 04 03:18 PM
Need help autopopulating next new record with previous record data Harry S[_3_] Excel Programming 2 October 1st 03 10:59 PM


All times are GMT +1. The time now is 12:15 PM.

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

About Us

"It's about Microsoft Excel"