+ Reply to Thread
Results 1 to 8 of 8

Formula to give 1 Point for Called In, .5 Points Late or Leave Early &0 if point year old

  1. #1
    Registered User
    Join Date
    06-08-2017
    Location
    Michigan. USA
    MS-Off Ver
    Excel 2016
    Posts
    6

    Formula to give 1 Point for Called In, .5 Points Late or Leave Early &0 if point year old

    The purpose for my formula is to keep a point system for attendance.
    If an employee is Late of Left Early they get a .5 Points
    If an employee Called In they get 1 Points

    There is also a condition that if the Point in that column is over a year old the value should be 0.

    I have the formula to get anything older than a year to be labelled 0 and give a false.

    =IF(OR((E4>NOW()+365),(E4<NOW())),0)

    The problem I am having is adding in the .5 and .1 values when it looks at Cell B.

    Any help would be greatly appreciated.
    Last edited by bowler1517; 06-08-2017 at 01:03 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need Help with a Formula [to calculate points for employee attendance]

    Hi, and welcome to the forum

    Unfortunately your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Need Help with a Formula [to calculate points for employee attendance]

    First please take the time to review our rules. There aren't many, and they are all important. Rule #1 asks for good thread titles. Your original title was very generic. I have updated it to something a little more specific.

    There are a couple of holes in your description. First you referred to 1 point then later to .1 points. Should the first reference be .1 point?

    What is in cell E4? You mention "cell B" but what is in it?

    Where does it indicate that the employee arrived late or left early?

    The formula you showed will return 0 if E4 is more than a year in the future, or is any time in the past. As a consequence, if E4 is anytime from today until a year from now, it will return FALSE. It is unusual to deliberately omit the "false" result and let it default to FALSE. I don't know if the logic is what you intended since it doesn't match your description, and it is unusual return either 0 or FALSE.

    As is often the case, it would be very helpful if you provide your file. Under the text box where you type your reply click the Go Advanced button. On the next screen scroll down and click on Manage Attachments, which will show a pop-up window to Select and Upload a file. Then close the window. The submit your post.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Registered User
    Join Date
    06-08-2017
    Location
    Michigan. USA
    MS-Off Ver
    Excel 2016
    Posts
    6

    Re: Formula to give 1 Point for Called In, .5 Points Late or Leave Early &0 if point year

    In cell A I have the date the employee earned the point value
    In cell B I have a drop down to Select one of 3 Options.
    Called In = Which would give 1.0 point
    Late = which would give 0.5 point
    Left Early = which would give 0.5 point
    In Cell C is where I need the formula that refers to both Cell B to give a value due to the Offense and Cell E which is the Drop off Date what should override Cell B's value given with a 0 if Cell E has past
    Cell D just marks full or half occurrence I have this formula taken care of.
    Cell E shows the Drop Off Date of the occurrence which is a formula I have adding a year to Cell A =DATE(YEAR(A2)+1,MONTH(A2),DAY(A2))

    So what I need is a formula that will give either a 1.0 point or 0.5 point for the offense but also drop the value to a 0 if the Date of the Offense is older than a year.

    Any help would be appreciated.

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Formula to give 1 Point for Called In, .5 Points Late or Leave Early &0 if point year

    Hi,

    As Jeff has said it helps us to help you if you upload the workbook so that we can see the request in context.

    It appears from your description that you want to be able to select something in column B cells and then have them changed if certain conditions apply. You can't have both a formula in a cell and be able to use a drop down or manually change the cell. You'll need a macro for this unless you perhaps make use of an additional helper column. However upload the workbook so we know what you're working with.

  6. #6
    Registered User
    Join Date
    06-08-2017
    Location
    Michigan. USA
    MS-Off Ver
    Excel 2016
    Posts
    6

    Re: Formula to give 1 Point for Called In, .5 Points Late or Leave Early &0 if point year

    I believe I have attached the workbook for you correctly.
    As for the rules just to be clear I did read them I am just at work and got a little side tracked by my employees so I forgot to change the title.
    Please understand I am here for help and do not want to cause problems.

    Let me know if you need more information.
    Attached Files Attached Files

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Formula to give 1 Point for Called In, .5 Points Late or Leave Early &0 if point year

    I put a formula in C2 and copied down. The security filter will not allow me to include the formula here for some reason.

    I used the old LOOKUP function because it is easier to see which status matches which point value. If you change this, note that the statuses must be in alphabetical order. This could have been done with nested IF statements but this is much cleaner.

    BTW we are here to help. We have just a small number of rules and it makes life better for everyone when members follow them. Thanks.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    06-08-2017
    Location
    Michigan. USA
    MS-Off Ver
    Excel 2016
    Posts
    6

    Re: Formula to give 1 Point for Called In, .5 Points Late or Leave Early &0 if point year

    OMG thank you so much I really appreciate it. Loving the help in here will be sure to recommend it to everyone. Thanks again.

+ 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. Excel formula for a 2010 template - Employee Attendance Tracker
    By mkcatt in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-22-2018, 10:19 AM
  2. attendance tracker that can calculate points
    By dragon00235 in forum Excel General
    Replies: 1
    Last Post: 03-12-2017, 03:52 AM
  3. Replies: 10
    Last Post: 03-17-2016, 05:34 AM
  4. 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
  5. Seeking employee attendance points tracking template
    By softpaww2014 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 10-21-2014, 07:24 PM
  6. [SOLVED] Calculate total employee attendance
    By sans in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-06-2012, 10:23 AM
  7. Best way to calculate employee attendance
    By Hanr3 in forum Excel General
    Replies: 3
    Last Post: 05-08-2006, 10:55 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