+ Reply to Thread
Results 1 to 15 of 15

MATCH FUNCTION Issue: Tracking Attendance for a Rolling Year

  1. #1
    Registered User
    Join Date
    01-12-2015
    Location
    Missouri
    MS-Off Ver
    MS Office 2010
    Posts
    24

    Exclamation MATCH FUNCTION Issue: Tracking Attendance for a Rolling Year

    To start out, this page and its function as a whole, works. My issue, is on the 'Indiv. List' Tab, cell $A$4. I would like for this cell to show the Full Name of the employee, vs either First or Last name.

    On the 'Getting Data' Tab, I use this coding, to pull data from each corresponding month:
    In my original coding for each cell that is looking through each monthly tab is this:

    Please Login or Register  to view this content.
    This tracks the First Name Cell ($B6), and =MATCH for the array across each individual monthly tab, in regards to the date at the top of the column.

    If you change it to this:

    Please Login or Register  to view this content.
    It will track the Last Name Cell ($A6).

    The coding for the 'Indiv. List' tab functions from the same code, the only difference being that I can sort out the blanks, and present as a printable page.
    Each cell in the column under "CODE" uses the above coding for the lookup, to find the actual infractions, in regards to the dates.

    I need to do this without having to edit or modify any page other than this new 'Indiv. List' and the 'Data Validation' page, which comes with updates as well.

    Any help in this matter would be greatly appreciated. But I do believe my issue lies where I'm using Match, vs maybe another formula? Due to its ability to only reference a single cell for lookup?

    Thanks again,
    SRWILSON87

    Whiskey Attendance Match Help.xlsx
    Last edited by SRWilson87; 04-25-2015 at 12:50 AM.

  2. #2
    Registered User
    Join Date
    01-12-2015
    Location
    Missouri
    MS-Off Ver
    MS Office 2010
    Posts
    24

    Re: MATCH FUNCTION Issue: Tracking Attendance for a Rolling Year

    Ok.. on the 'Indiv. List' tab.. I want the drop down menu to display Last Name, First Name. And doing so, while only having to update 'Indiv. List' and 'Getting Data'.

    The reason for this, the 'Indiv. List' Tab is an add-in, that I'm handing out, to attach to this worksheet that's already in use, by many different people.
    So the easiest way to assist them, would be a simple, new, cut/paste, page that they'd add in, and be good to go.

  3. #3
    Forum Contributor
    Join Date
    06-24-2005
    Location
    excelliot.com
    MS-Off Ver
    2007
    Posts
    325

    Thumbs up Re: MATCH FUNCTION Issue: Tracking Attendance for a Rolling Year

    I must say you have very well maintained data..

    Now since you are doing look up on either first name or last name what we can do is unmerge cell A4, then merge only cell B4 to E4 & keep validation as it is...

    Remove validation from Cell A4 & put formula =LEFT(B4,-1+FIND(" ",B4))

    Now change Text color to white & you can hide & lock the cell..

    Now you can see you can change first & last name & nothing else is changed...

    See attachment i have changed it for you..

    Thanks!
    Attached Files Attached Files
    Last edited by JBeaucaire; 06-28-2015 at 03:24 AM.

  4. #4
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: MATCH FUNCTION Issue: Tracking Attendance for a Rolling Year

    SRWilson87,

    In the fie you uploaded, replace B8 with the following:

    Please Login or Register  to view this content.
    I've colored the part that changed. What it does is, since the first name works, it extracts the first name from the full name when you choose one from data validation...

    PS: The downside occurs when/if two have the same first name.

    PPS: Essentially does same as excelliot's solution without changing A4
    Last edited by jhren; 04-25-2015 at 08:38 AM.

  5. #5
    Registered User
    Join Date
    01-12-2015
    Location
    Missouri
    MS-Off Ver
    MS Office 2010
    Posts
    24

    Re: MATCH FUNCTION Issue: Tracking Attendance for a Rolling Year

    Thank you so much!! As well for the compliment. This pages main idea and concept was to be user friendly, and minimal effort involved in data input. You sir, have saved me a vast amount of time, and I cannot thank you enough.

  6. #6
    Registered User
    Join Date
    01-12-2015
    Location
    Missouri
    MS-Off Ver
    MS Office 2010
    Posts
    24

    Re: MATCH FUNCTION Issue: Tracking Attendance for a Rolling Year

    Jhren,

    Once I make it home, and out of the office, I'll give that a try, and see what it'll do for me.
    If it works as I hope it will, then both of you have been of great service to me!

    Thanks

  7. #7
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: MATCH FUNCTION Issue: Tracking Attendance for a Rolling Year

    New formula for B8 which uses both names.

    Please Login or Register  to view this content.
    ***array formula***
    Paste in all but curly brackets, then Ctrl+Shift+Enter. Excel will add the curly brackets to confirm array formula.

    Red text in first part of formula denotes changes, second part is the same but not highlighted.

    You will also have to modify some formulas on other tabs in similar fashion. I entered the name Red Walker on the YTD tab and "he" automatically obtained same data as Red Stag.

  8. #8
    Registered User
    Join Date
    01-12-2015
    Location
    Missouri
    MS-Off Ver
    MS Office 2010
    Posts
    24

    Re: MATCH FUNCTION Issue: Tracking Attendance for a Rolling Year

    I hadn't noticed that it would do that, haven't ran across like named employee's. So thank you very much for noting that!

  9. #9
    Registered User
    Join Date
    01-12-2015
    Location
    Missouri
    MS-Off Ver
    MS Office 2010
    Posts
    24

    Re: MATCH FUNCTION Issue: Tracking Attendance for a Rolling Year

    Ok, so how exactly should I rework that on the Getting Data page?

    Please Login or Register  to view this content.
    This is what i put in for cell J6 in the Getting Data tab.. looked to be right.. but it doesnt track something right.
    Last edited by SRWilson87; 04-25-2015 at 09:22 PM.

  10. #10
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: MATCH FUNCTION Issue: Tracking Attendance for a Rolling Year

    In J6, copy down and right...

    Please Login or Register  to view this content.
    Double check to make sure resuts are correct!

  11. #11
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: MATCH FUNCTION Issue: Tracking Attendance for a Rolling Year

    Quote Originally Posted by jhren View Post
    ...

    Double check to make sure results are correct!
    The reason I'm saying that is when I replaced the formula in your file, I noticed some of the reported data changed... but when I compared some of the new results with the monthly tab's data it was accurate.

  12. #12
    Registered User
    Join Date
    01-12-2015
    Location
    Missouri
    MS-Off Ver
    MS Office 2010
    Posts
    24

    Re: MATCH FUNCTION Issue: Tracking Attendance for a Rolling Year

    Alright, so I thank the both of you for all the assistance you've provided to me. I have a working copy I'll upload, and let you take a look and see if you can find any issues that I may have missed.


    Working Perfectly.xlsx

    And Jhren, you've done me a great service by noticing the issue with my original coding, in that it would incorrectly recognize the data from a like named individual.

    Again, thanks to the both of you.
    Last edited by SRWilson87; 04-27-2015 at 05:40 AM. Reason: Fixed attached file.

  13. #13
    Registered User
    Join Date
    01-12-2015
    Location
    Missouri
    MS-Off Ver
    MS Office 2010
    Posts
    24

    Re: MATCH FUNCTION Issue: Tracking Attendance for a Rolling Year

    One other small request, nothing overly serious. Any proposals on how I could efficiently remove an individual and their data from the worksheet, and move the remaining names up, without corrupting the coding, and still preserving all the data for each person. Not needed, but maybe a macro could do this? If so, that's an area I've yet to dive into, but would be more than willing to learn it.

  14. #14
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: MATCH FUNCTION Issue: Tracking Attendance for a Rolling Year

    VBA (macro) is probably the best way... but I'd have to muddle my way through it. Given the number of replies here, you should start a new post in the VBA subforum.

  15. #15
    Registered User
    Join Date
    01-12-2015
    Location
    Missouri
    MS-Off Ver
    MS Office 2010
    Posts
    24

    Re: MATCH FUNCTION Issue: Tracking Attendance for a Rolling Year

    Thanks again for all of your assistance, you've been an immense help in this project.

    Here is the link to the new thread, if not to help on the topic, at least to see the ending results.

    http://www.excelforum.com/excel-prog...heir-data.html

    Thanks again,
    SRWilson87

+ 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. Track attendance points for a rolling year
    By MN_REV-800 in forum Excel General
    Replies: 17
    Last Post: 02-20-2019, 11:17 PM
  2. Attendance Point System Spreadsheet with Rolling 1-year Points Reversal
    By mfoley9723 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-04-2018, 04:46 PM
  3. Need Help Rolling 6/12 Month Attendance Point Tracking
    By khintze in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-06-2015, 05:46 PM
  4. creating an attendance tracking SS with a rolling 90 day quarter
    By spidersweb10382 in forum Excel General
    Replies: 6
    Last Post: 11-20-2013, 05:21 PM

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