+ Reply to Thread
Results 1 to 4 of 4

Absence tracker problem

  1. #1
    Registered User
    Join Date
    07-21-2014
    Location
    Wales
    MS-Off Ver
    2010
    Posts
    11

    Absence tracker problem

    Hi
    I am trying to pick data from one table and dump it another and my head is going.
    In the attached file you can see what I am trying to do (hopefully)
    I have a holiday sheet but i need to be able to pull the data from the sheet by entering a week no in the recieving sheet(Tracker) and pulling only the data for that week and only for people who are absent.
    As you can see in the attached file I have entered week 1 in the tracker and I need to pull what the tracker shows . You can see that bill is not in the tracker because he has not been absent during the week. I have seen something about using a Vlookup whith a "Match" inserted in the lookup formula this sort of looks the way to go but I am still having trouble in getting it to only select the data from the week no I enter in the tracker.
    Any help would be great.
    PB
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Absence tracker problem

    Since you are varying both rows and columns, try using INDEX/MATCH
    In M20 copied across and down

    =IF(LEN(INDEX($D$3:$R$8, MATCH($J20,$A$3:$A$8,0),MATCH($L$16, $D$1:$R$1,0)+COLUMNS($A$1:A$1)-1))>0,1,"")
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    07-21-2014
    Location
    Wales
    MS-Off Ver
    2010
    Posts
    11

    Re: Absence tracker problem

    Hi
    First thanks Chemistb for your reply.

    That works great for inputting the results in the table for the people in the tracker. But the employee names are not constants I need them to be imported into the recieving table only if they are absent for any day for the specified week.
    If I enter week 1 bill has no entries (he is in work all week) so he should not be in the recieving table (TRACKER) same for week 2.
    if I enter week 2, Bill, Tom & Cath have no entries so they should not be in the tracker.
    However
    If I enter week 3 bill has an "off" day on Wed so his name should then enter the tracker but Tom, Sam & Sue have no entries so they should not.

    Hope this makes sense.
    I only want employees in the tracker if they are off during the week specified.
    I think I may have to do this in two steps ?

  4. #4
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Absence tracker problem

    Create a Helper column in front of the imported sheet, so you will always paste that data starting in B...

    Then write the following

    Label A2 either Helper or VlookupValue

    A3 would be
    Please Login or Register  to view this content.
    EDIT : IF needed add to the above, IF something = OFF then be Blank or anything like that before you do the count to prevent pulling them in...just an option if needed...
    Week Num Selected would be what ever you put in the sheet...

    Now the table to pull them in on, you can list down 1 - 50 (If you need that many) and perform a Vlookup on the import sheet

    For the Name
    Please Login or Register  to view this content.
    For the Fin No.
    Please Login or Register  to view this content.
    Ref1 would be the 1 - 50 numbers, then you can try the rest with the previous solution now that you have the names pulled dynamically for that week!
    -If you think you are done, Start over - ELeGault

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Tracker tool problem
    By SharpL in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-27-2014, 09:30 AM
  2. System idle time tracker / Break Tracker
    By reetika05 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-10-2014, 07:26 AM
  3. Big number of Staff - problem of replacement / absence
    By youssefoudra in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 09-26-2014, 10:44 AM
  4. Replies: 1
    Last Post: 07-31-2014, 01:43 AM
  5. Absence Tracker will not calculate
    By Vmgballer1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-13-2013, 08:48 AM

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