+ Reply to Thread
Results 1 to 6 of 6

Rolling change formula

  1. #1
    Registered User
    Join Date
    03-06-2013
    Location
    florida
    MS-Off Ver
    Excel 2002
    Posts
    3

    Rolling change formula

    Ok below is a sample of the report I am using at work and what I am trying to do is institue a formula based on the due date I need to add up everything in collum F from the oldest date to TODAYS date but I need it to be a rolling change so that if I open the report my past due will match every thing from today back without having to change the cell number of collum E in the formulla every day.

    If anyone could help me with this I would really appreciate it.


    a b c d e f
    acct # order # order date/status model / sn due date qty
    328538 2/15/13 3/17/13
    JH3 328538 ZFLNWM GMH5992X SN 0126092 1
    JH3 328538 ZFLNWM DMH5992R SN 1015104 1
    328539 2/15/13 3/17/13
    JH3 328539 ZFLNWM DMH5992X SN 1016093 1
    JH3 328539 ZFLNWM GMH5992X SN 0129002 1
    328731 2/26/13 3/28/13
    JH3 328731 ZFLNWM GMH5992R SN 0131138 1
    JH3 328731 ZFLNWM DMH5992X SN 0710150 1
    328732 2/26/13 3/28/13
    JH3 328732 ZFLNWM GMH5992X SN 0602022 1
    JH3 328732 ZFLNWM GMH5992X SN 0602076 1
    JH3 328732 ZFLNWM GMH5992X SN 0816053 1


    Thank you
    Last edited by amunch; 03-07-2013 at 02:04 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,051

    Re: Rolling change formula

    Hi and welcome to the forum

    i would suggest you upload a sample work book, (all sensitive data removed), showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    03-06-2013
    Location
    florida
    MS-Off Ver
    Excel 2002
    Posts
    3

    Re: Rolling change formula

    Ok I have attached a copy of my file I hope I did this correctly the hilighted cells at the bottom of the report have a description on them of what I need it to do.

    Thank you for all your help.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Rolling change formula

    Try this formula

    =SUM($F$1:INDEX(F:F,MATCH(TODAY(),E:E)))
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: Rolling change formula

    PAST DUE forum Harribone.xls

    Because the date only shows up once for several quantities on each record I have put a formula in Col G to total up for each date (e.g. Col A has 83900 appear several times but the date is at the end and the total needs to be shown on the same row which in this case is 6).

    Then a sumif formula can be used to check anything that is due (including today) and this is totalled up. I only get 230 not 232 though if you can double check which is right just in case i've done something wrong.

    EDIT: Just to point out G1 has just got the value 1 as starting point for the formulas below.
    Last edited by Harribone; 03-07-2013 at 12:34 PM.
    Say thanks, click *

  6. #6
    Registered User
    Join Date
    03-06-2013
    Location
    florida
    MS-Off Ver
    Excel 2002
    Posts
    3

    Re: Rolling change formula

    Thanks guys this has been very helpful I really appreciate it.

+ 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