#1   Report Post  
Sandoval
 
Posts: n/a
Default If statement help?

I am trying to make a document that is a daily processing cost for my
supervisor. It is actually in week form. I need to times the daily rate by
hours worked for the day. Once the employee has reached 40 hours i need to
times the daily rate by time and a half and then by how many hours worked
overtime and sometimes these are all in one day. So lets say one employee
worked 45 hors after 4 days that 4th day i need to minus the overtime hours
from the regular hours and then times the daily rate. PLEASE someone help me.
  #2   Report Post  
Mike
 
Posts: n/a
Default

=IF(a140,((a1-40)*payrate*1.5)+(40*payrate),a1*payrate)

"Sandoval" wrote:

I am trying to make a document that is a daily processing cost for my
supervisor. It is actually in week form. I need to times the daily rate by
hours worked for the day. Once the employee has reached 40 hours i need to
times the daily rate by time and a half and then by how many hours worked
overtime and sometimes these are all in one day. So lets say one employee
worked 45 hors after 4 days that 4th day i need to minus the overtime hours
from the regular hours and then times the daily rate. PLEASE someone help me.

  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

David McRitchie has a macro that may do what you want:

http://www.mvps.org/dmcritchie/excel/insrtrow.htm
look for: InsertRowsAndFillFormulas

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Sandoval wrote:

I am trying to make a document that is a daily processing cost for my
supervisor. It is actually in week form. I need to times the daily rate by
hours worked for the day. Once the employee has reached 40 hours i need to
times the daily rate by time and a half and then by how many hours worked
overtime and sometimes these are all in one day. So lets say one employee
worked 45 hors after 4 days that 4th day i need to minus the overtime hours
from the regular hours and then times the daily rate. PLEASE someone help me.


--

Dave Peterson
  #4   Report Post  
Gord Dibben
 
Posts: n/a
Default

Note

This answer should be posted for the posting above.

"Same formula in each cell of the column, etc."


Gord Dibben Excel MVP

On Wed, 14 Sep 2005 13:36:18 -0500, Dave Peterson
wrote:

David McRitchie has a macro that may do what you want:

http://www.mvps.org/dmcritchie/excel/insrtrow.htm
look for: InsertRowsAndFillFormulas

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Sandoval wrote:

I am trying to make a document that is a daily processing cost for my
supervisor. It is actually in week form. I need to times the daily rate by
hours worked for the day. Once the employee has reached 40 hours i need to
times the daily rate by time and a half and then by how many hours worked
overtime and sometimes these are all in one day. So lets say one employee
worked 45 hors after 4 days that 4th day i need to minus the overtime hours
from the regular hours and then times the daily rate. PLEASE someone help me.


  #5   Report Post  
Gord Dibben
 
Posts: n/a
Default

Sandoval

See Chip Pearson's site for working with timesheets and overtime.

http://www.cpearson.com/excel/overtime.htm


Gord Dibben Excel MVP

On Wed, 14 Sep 2005 11:21:01 -0700, "Sandoval"
wrote:

I am trying to make a document that is a daily processing cost for my
supervisor. It is actually in week form. I need to times the daily rate by
hours worked for the day. Once the employee has reached 40 hours i need to
times the daily rate by time and a half and then by how many hours worked
overtime and sometimes these are all in one day. So lets say one employee
worked 45 hors after 4 days that 4th day i need to minus the overtime hours
from the regular hours and then times the daily rate. PLEASE someone help me.




  #6   Report Post  
Dave Peterson
 
Posts: n/a
Default

Oopsie.

Thanks for watching out!

Gord Dibben wrote:

Note

This answer should be posted for the posting above.

"Same formula in each cell of the column, etc."

Gord Dibben Excel MVP

On Wed, 14 Sep 2005 13:36:18 -0500, Dave Peterson
wrote:

David McRitchie has a macro that may do what you want:

http://www.mvps.org/dmcritchie/excel/insrtrow.htm
look for: InsertRowsAndFillFormulas

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Sandoval wrote:

I am trying to make a document that is a daily processing cost for my
supervisor. It is actually in week form. I need to times the daily rate by
hours worked for the day. Once the employee has reached 40 hours i need to
times the daily rate by time and a half and then by how many hours worked
overtime and sometimes these are all in one day. So lets say one employee
worked 45 hors after 4 days that 4th day i need to minus the overtime hours
from the regular hours and then times the daily rate. PLEASE someone help me.


--

Dave Peterson
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
If statement Matt Montagliano Excel Discussion (Misc queries) 1 September 8th 05 08:47 PM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM
What statement to use? Paul Excel Worksheet Functions 6 February 13th 05 05:23 PM
How do I fix a circular reference in a financial statement? drjayhawk25 Excel Discussion (Misc queries) 0 February 7th 05 05:19 PM
7+ nested if statement? Turi Excel Worksheet Functions 3 December 20th 04 07:55 PM


All times are GMT +1. The time now is 07:22 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"