+ Reply to Thread
Results 1 to 2 of 2

Diminishing total

  1. #1
    Registered User
    Join Date
    12-28-2012
    Location
    Charlotte, MI
    MS-Off Ver
    Excel 2007
    Posts
    9

    Diminishing total

    I'm thinking I need a Macro for this . . .
    I'm working on a log for permitts, these permits expire in 7 days, So I want to have a formula that takes the input from my daily sheet and have it copy to the corrisponding day with the colum called "days" ticking down to zero then removing the line from the 8th day sheet. I'm thinking it would be an if else loop somthing to the effect of IF(L3=i, i<8, i--) Else (delete), but I don't know how to translate that to Excel terms or where I would put it. See the attached file, thanks fellas
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,715

    Re: Diminishing total

    Hi
    to calculate whether the permit has expired you can use a formula such as:

    Please Login or Register  to view this content.
    in your daily sheet, where N3 is the expiry date

    to delete rows where the permit is expired you will need a macro

    this should work, assuming you have copied the formula above into column "L", and the cells with the copied formula begin in row 3:


    Please Login or Register  to view this content.

+ 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.6.0 RC 1