+ Reply to Thread
Results 1 to 2 of 2

Formula not removing accrued values properly

  1. #1
    Forum Contributor
    Join Date
    05-12-2014
    MS-Off Ver
    Excel 2013
    Posts
    131

    Formula not removing accrued values properly

    Hello. I found an attendance tracker online that I'm planning to present for use to my supervisors, and I've edited it to do what we need wonderfully. The only issue is that our attendance points here roll off after 6 months and the way this thing is set up I'm having a heck of a time getting it to calculate that properly.

    Ideally excel would identify which day to roll stuff off, but I felt like that'd be a ton of formula entry for each day on the calendar, so I resorted to just being ok with the month to month roll off (meaning if an employee had 6 points in April, those'd reflect as falling off October 1st, regardless of the actual date in April they were accrued).

    I've tried fiddling with the formulas for 2 days now and I can't get anything past October to reflect correctly (and as a result I'm paranoid that anything from July on isn't showing properly even though it looks right so far). Was hoping to get some insight into where I'm going wrong or how to do this easily? I tried having the 'total' cell add all the days from that month, then add the previous 5 months and then subtract anything before that but it's just not working properly.

    So I'm looking for advice from the month of July onward (my demo sheet is attached so this makes more sense when looking at it).

    Thanks!

    BONUS: Is there any way to have a separate tab on a sheet that compiles all notes entered? Right now I'm right-clicking attendance issues to leave notes about the absence or tardy, but in the event those'd need to be printed out, having them compiled somewhere would make life easier. Just a thought, way more concerned about the first part to be honest.
    Attached Files Attached Files
    Last edited by mrbusto71; 02-19-2015 at 11:01 AM.

  2. #2
    Forum Contributor
    Join Date
    05-12-2014
    MS-Off Ver
    Excel 2013
    Posts
    131

    Re: Formula not removing accrued values properly

    I think I have this semi-figured out, but need a simple question answered, maybe.

    Each tab is set up for attendance as a table. The issue I'm running into is that after June's table, if I tell July to add the sum of February through July then subtract January, it's returning the incorrect numbers.

    So basically here's a simplified version of my initial question:

    Since I have the tables set up to have letters reference specific numbers, is there a way I can just tell excel to subtract a range of cells from a specified table if that table has a letter instead of a number? Here's an example:

    Instead of:
    =SUM(COUNTIF(B5:AF5,{"t","p","a","ncp","nca"})*{1,2,3,5,6})+tblJune[@[YTD Points]]-tblFebruary[@[YTD Points]]
    Which is associating the letters to numbers in the first part, then subtracting the lump sum of February's table in the 2nd part (which is why it's wrong)

    Is there a way to do something like:
    =SUM(COUNTIF(B5:AF5,{"t","p","a","ncp","nca"})*{1,2,3,5,6})+tblJune[@[YTD Points]]-tblFebruary[B5:AC5]
    instead?

    I tried this and it returns a #VALUE! error and I'm thinking because that range has a letter in it rather than a number, so I'm not sure how to fix it.

    Any input is appreciated, I'll edit the post from here on out instead of bumping it.

+ 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. Need Help - AutoCalculate Attendance Points for employee attendance records
    By switzd0d in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-17-2015, 03:00 PM
  3. Seeking employee attendance points tracking template
    By softpaww2014 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 10-21-2014, 07:24 PM
  4. Attendance tracking - Formula based
    By yogananda.muthaiah in forum Excel General
    Replies: 2
    Last Post: 04-27-2012, 09:34 PM

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