Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-30-2010, 08:23 PM
mizzamzz mizzamzz is offline IF Formulas Windows XP IF Formulas Office 2003
Novice
IF Formulas
 
Join Date: Jun 2010
Posts: 1
mizzamzz is on a distinguished road
Red face IF Formulas

Hi All!!



Firstly let me just say this forum is AWESOME! What a fab idea!!!

I was hoping someone may be able to help me with a particular IF formula?

It's for a time sheet and what I would ideally like to do is work apply time and a half to any hours worked outside 8am-8pm. How can I do this?

For example how would I do a formula to populate cell C in the below?

Start Time(Cell A) Finish Time (Cell B) Overtime Hours (Cell C)

06:30 21:45

I need to do something along the lines of: If Cell A is less than 8am then the hours less than 8am need to be multiplied by .5 (as the total number of hours is cell C will be added to my total hours for the week in another formula which I already have in place). Then if Cell B is greater than 20:00 then the hours greater than this need to be multiplied by .5 also.

Is this asking too much? Can this even be done?

Any help would be HUGELY appreciated!!
Reply With Quote
  #2  
Old 07-08-2010, 02:32 AM
mugezhn mugezhn is offline IF Formulas Windows XP IF Formulas Office 2007
Novice
 
Join Date: Jul 2010
Posts: 16
mugezhn is on a distinguished road
Default

Try this

Write 08:00 in Cell D and 20:00 in Cell E.

Apply the following formula in Cell C:

=IF(A2<D2;(D2-A2)*0,5;0)+IF(B2>E2;(B2-E2)*0,5;0)

(Assuming that you use Row 2)
Reply With Quote
Reply

Tags
formulas

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't calculate formulas Cpat Excel 2 06-09-2010 02:07 PM
Simple formulas den hobbelder Word 1 02-26-2010 01:53 PM
Table formulas markg2 Word Tables 0 01-15-2010 06:49 AM
Creating Formulas in a Word Form pittz2002 Word 0 08-25-2009 08:36 AM
IF Formulas How to transfer multiple cells from excel to word by formulas justziggy Word 5 05-23-2009 02:33 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:33 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft