LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default IF & OR Statements

Hello, I'm working on a timesheet, and I currently have it working so that if
for ex:

Someone clocks in at 8:00am, lunchs out at 12pm, lunchs in at 1pm, and clock
outs at 5pm, it calculates the time they were on the clock. Also if for that
day SAT, SUN, or Nothing is entered, it calculates no time (or a blank). See
formula below:

=IF(OR(H10="SAT",H10="SUN",H10="OFF",H10="")," ",(SUM(K10-H10)-SUM(J10-I10)))

What I would like to adjust this to do is add if H10="HOLIDAY",
0.333333333333333 is entered (true value) (equivalent to 8 hours), if false
then complete the above checks (from above formula), if ALL false, then " "
(should be outputted).

So basically I want it to work as such: If Holiday = true, enter 8, if false
enter " ", or if Sat, Sun, Off, is true, enter " ", if false calculate
clocking times.

PLEASE HELP :)

 
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 Statements (Mutliple Statements) Deezel Excel Worksheet Functions 3 October 19th 06 06:13 AM
If statements Donna S Excel Discussion (Misc queries) 1 July 21st 06 06:21 PM
if or statements jimar Excel Discussion (Misc queries) 3 March 29th 06 03:38 PM
if statements, and statements Sum Limit and marking Excel Worksheet Functions 3 March 29th 06 03:25 PM
If statements df1234 Excel Worksheet Functions 1 June 30th 05 10:50 PM


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