+ Reply to Thread
Results 1 to 4 of 4

Need Help Rolling 6/12 Month Attendance Point Tracking

  1. #1
    Registered User
    Join Date
    01-15-2015
    Location
    Milwaukee, WI
    MS-Off Ver
    2007
    Posts
    2

    Need Help Rolling 6/12 Month Attendance Point Tracking

    Im trying to create a formula that will track employee attendance points for a 6 month and 12 month rolling period. I have attached the spreadsheet. An employee earns back 1/2 (.5) points when they go a month without any occurrences. They can not have less than 0 total points and when I create a formula I can't get it to stop at 0. It keeps adding and going negative which then provides essentially a false positive for an employee. Any help would be greatly appreciated. On the 'SUMMARY' tab is a formula that I tried using but I am missing something and may have overcomplicated the formula so any simplifications would be appreciated too.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    01-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    651

    Re: Need Help Rolling 6/12 Month Attendance Point Tracking

    hi khintze, welcome to the forum

    i'm having a little trouble understanding your request - where is the formula that is not working for you?

    all i see on 'Summary' are vlookups that appear to be working for the most part.

    i suspect max() will help you out, something like =max(0,[your other formula here]) will keep your values from going below 0.
    Hope I could help - if your post has been solved don't forget to mark it as such.

    Clicking the * below is a great way to say thanks!

    "Drowning in 10 feet of water isn?t any different than drowning in a million feet. And if you can swim, it doesn?t matter how deep the ocean is. At some level, once you realize you?re in water that?s too deep to stand, you have to have a very different approach," - Joi Ito

  3. #3
    Registered User
    Join Date
    01-15-2015
    Location
    Milwaukee, WI
    MS-Off Ver
    2007
    Posts
    2

    Re: Need Help Rolling 6/12 Month Attendance Point Tracking

    I apologize the incorrect spreadsheet was attached to my original post. The correct sheet is now attached that I am referencing in my initial post. Thank you.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    01-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    651

    Re: Need Help Rolling 6/12 Month Attendance Point Tracking

    phew that was fun.

    i tried to make that work with formulas for a while but never came up w/ anything... only ideas got reallllly messy in a hurry.

    the whole time though i was thinking this should be pretty easy w/ vba (i don't have much experience writing but this was a great opportunity to practice )

    so here you go, two subroutines, one for your 6 month column and one for your "12" month column (you only actually have 10 months of data...)

    Please Login or Register  to view this content.
    as in the attached. i'm off for the weekend but i'll try to remember to check back in on monday in case you have any questions. someone in the forum can help you out i'm sure.

    p.s. i also added an iferror() statement to your vlookups to get rid of those n/a's and an indirect() reference to row 1 so that you can just copy the same formula across all columns. to add next month's data you'll just need to put 'Apr15 in N1 and change the ranges referenced in those codes to columns I through N and D through N.
    Attached Files Attached Files
    Last edited by simarui; 03-06-2015 at 05:53 PM. Reason: accidentally uploaded the .xlsx version w/out my macros

+ 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. Replies: 10
    Last Post: 03-17-2016, 05:34 AM
  2. Replies: 1
    Last Post: 10-24-2014, 09:57 PM
  3. Employee Attendance Point Tracking
    By mwade3434 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-07-2014, 04:27 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