+ Reply to Thread
Results 1 to 3 of 3

If / Not If / Vlookup

  1. #1
    Registered User
    Join Date
    09-23-2010
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    10

    If / Not If / Vlookup

    I have to try and use excelt for absence reporting.

    I have one tab of data with a list of annual leave (for example) with the following data

    Employee Number Start Date End Date
    Employee 1 1st January 2nd January
    Employee 1 1st March 3rd March
    Employee 2 2nd February 3rd February.

    The main tab has employee name in column a then dates as headers for the remainder of the columns 1st January - 31st December (eg.)

    Is there a way to put a mark (e.g. YES) agains the relevant cell to show that someone was off on a particular date?

    Thanks


    Stephen

  2. #2
    Registered User
    Join Date
    01-24-2011
    Location
    South Carolina
    MS-Off Ver
    Excel 2007
    Posts
    74

    Re: If / Not If / Vlookup

    Stephen,
    I'm close - I've got your start and end dates working. Not sure how to fill in the dates inbetween yet.

    have a look, and perhaps others will have an easier solution or will be able to complete this one. (I haven't given up, but am stumped at the moment)

    to get the check mark, my "if" formula uses Alt + 129 for the umlaut "ü" and then formatting the area with the wingdings font results in a nice check mark.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-24-2011
    Location
    South Carolina
    MS-Off Ver
    Excel 2007
    Posts
    74

    Re: If / Not If / Vlookup

    And, closer still....

    Stephen
    for this to work, You'll need to do a bit of math on the tab with start/end dates. I've added a column titled "total days" which is the total number of days absent.

    The formula is full of nested if's and vlookups, but I think it gives you what you want. Transpose to your sheet carefully, as missed commas and parentheses will certainly render it useless.

    and - I did not account for weekends.

    best of luck!



    if this will work for you, please edit your original post, edit the Heading, change it to [SOLVED] and feel free to click on the star at the bottom left of this post...
    Attached Files Attached Files
    Last edited by Hang Glider; 08-22-2012 at 05:09 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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