+ Reply to Thread
Results 1 to 6 of 6

Thread: Formula to remove a value every 30 days

  1. #1
    Registered User
    Join Date
    04-15-2010
    Location
    SoCal
    MS-Off Ver
    Excel 2007
    Posts
    1

    Formula to remove a value every 30 days

    Hi,

    This is the situation... I have 300 employees on an attendance point system. If you are absent or late, then a certain point is issued to the EE. However, after a 30 day period without incident then .5 point is removed from the total until zero or another point is added.

    I need: A formula that would remove .5 points every 30 days from the total until zero (if they are lucky).

    Example:

    A1_____|______A2_____|______A3________|___A4
    EE#____|_____Name____|__Date of violation__|__Points

    1256___|_____John D.___|___4/15/10_______|___2.0


    With the formula, a half point should come off automatically after 30 days if no further incident is recorded. In this example a half point should be removed on May 15, 2010 and having a balance of 1.5. Then another .5 points in other 30 days and the balance then should be 1.0 and so on and so on until the cell A4 reaches 0.

    Thanks for any help.
    Last edited by Jimmyvee; 04-15-2010 at 04:55 PM.

  2. #2
    Forum Guru darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Colorado, US
    MS-Off Ver
    2007
    Posts
    2,170

    Re: Formula to remove a value every 30 days

    How are the violations recorded? Is it one line for each employee with all violations totaled on that line, or is it one line for each violation? The former will require VBA. The latter can be done with a formula.

  3. #3
    Registered User
    Join Date
    11-24-2011
    Location
    Boston, USA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Formula to remove a value every 30 days

    I have similar situation but instead of 0.5 point, we remove 1 point.
    It is one line for each violation.
    How to do this with a formula?

    Thanks.

  4. #4
    Registered User
    Join Date
    11-24-2011
    Location
    Boston, USA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Formula to remove a value every 30 days

    another situation:
    We need to roll-off whatever value is in a cell after 6 months?
    How to do this one also?

    Thanks.

  5. #5
    Forum Guru darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Colorado, US
    MS-Off Ver
    2007
    Posts
    2,170

    Re: Formula to remove a value every 30 days

    Welcome to the forum. However, your post does not comply with rule #2. Please post your questions in a new thread. Thanks, and Happy Thanksgiving!
    Life is about perseverance. Remember: today's mighty oak tree is just yesterday's nut that held its ground.

    If you like a post, please rate it with the scales icon (top right).
    If you feel really indebted, please consider a donation to charity, such as Feed the Children or Habitat for Humanity.

  6. #6
    Registered User
    Join Date
    11-24-2011
    Location
    Boston, USA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Formula to remove a value every 30 days

    oops...started on wrong foot then.
    Since my question is related to the current one, i posted here.
    Let me start a new thread and post these 2 questions there.

    Happy thanksgiving to you too!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0