+ Reply to Thread
Results 1 to 2 of 2

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
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: Timesheet IF statement woes

    deleted --reread OP and need to re-evaluate.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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.6.0 RC 1