+ Reply to Thread
Results 1 to 2 of 2

formula to generate month-to-date based on auto date

  1. #1
    Registered User
    Join Date
    05-22-2008
    Location
    Orange County, CA
    MS-Off Ver
    MS XP
    Posts
    33

    formula to generate month-to-date based on auto date

    Hello-

    I am trying to create a formula that would insert month-to-date info based on a auto date formula. Everytime I open my workbook the date of that day shows. I need the month-to-date calculations to be auto generated evertime the workbook is opened, based on the auto date function "=today()"

    I have attached an example.

    Thank you so much in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Using your example file sheet summary:
    C14: =MIN(IF('Details - 13wk Rolling'!F2:AA2>=B14-DAY(B14)+1,COLUMN('Details - 13wk Rolling'!F2:AA2),""))-1
    This is array entered
    D14: =MAX(IF('Details - 13wk Rolling'!F2:AA2<=Summary!B14,COLUMN('Details - 13wk Rolling'!F2:AA2),""))
    This is array entered.
    F16: =SUM(OFFSET('Details - 13wk Rolling'!A15,0,Summary!$C$14,1,Summary!$D$14-Summary!$C$14))
    G16: =SUM(OFFSET('Details - 13wk Rolling'!A27,0,Summary!$C$14,1,Summary!$D$14-Summary!$C$14))
    Copy from F16:G16 down to row 25.

    If you don't want to see the numbers in C14:D14, the select the cells, format, cells, custom, ;;;, OK. This will make the cells not show. Alternatively, put the formulas somewhere that won't interfere with your activities.

    rylo

+ 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