+ Reply to Thread
Results 1 to 2 of 2

Thread: Timesheet IF statement woes

  1. #1
    Registered User
    Join Date
    12-22-2011
    Location
    Leeds, England
    MS-Off Ver
    Office 2011 (Mac) & Office 2010 (Windows)
    Posts
    1

    Question Timesheet IF statement woes

    Hi

    I'm trying to adapt the attached timesheet for my purposes, I can't remember where I originally downloaded it from.

    Working Hours.xls

    What I would like to be able to do is have it so that if D6 contains A (Annual Leave), S (Sickness) or P (Public Holiday) a positive balance of half a standard working day (contents of cell L1 divided by 2) added to 06. If G6 contains one of these letters it does the same.

    I'm guessing it's something along the lines of:

    =IF(OR(D6="S",D6="P",D6="A"),IF(K6>$L$1,K6-$L$1," ")+IF(OR(G6="S",G6="P",G6="A"),IF(K6>$L$1,K6-L$1$))

    But I can't get it to work, my Excel knowledge is very rusty!

    Any help would be greatly appreciated.

  2. #2
    Valued Forum Contributor alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Lake County, Illinois
    MS-Off Ver
    MS Office 2010, 2007 and 2002
    Posts
    1,165

    Re: Timesheet IF statement woes

    deleted --reread OP and need to re-evaluate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0