+ Reply to Thread
Results 1 to 3 of 3

Dynamic Formula Issue

  1. #1
    Forum Contributor
    Join Date
    06-19-2012
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    143

    Dynamic Formula Issue

    I'm trying to create a dynamic formula that shows the last 4 weeks of data, ending on today's date. I can get the first half no problem, but I can't figure out how to have it end on today's date (there are future dates in the table column).

    This is what I have:
    PHP Code: 
    =FILTER(Worksheet[Date],Worksheet[Date]>=TODAY()-27
    Thanks for your insights!
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Dynamic Formula Issue

    Please try

    =FILTER(Worksheet[Date],(Worksheet[Date]>=TODAY()-27)*(Worksheet[Date]<=TODAY()))

    or

    =FILTER(Worksheet[Date],ABS(Worksheet[Date]-TODAY()+13.5)<=13.5)

    27/2 = 13.5
    Attached Files Attached Files
    Last edited by Bo_Ry; 10-01-2020 at 07:44 AM.

  3. #3
    Forum Contributor
    Join Date
    06-19-2012
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    143

    Re: Dynamic Formula Issue

    That works perfectly, thanks!

+ 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. Dynamic Programming Example and Issue
    By rastawolf in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-14-2020, 06:04 AM
  2. Dynamic formula with offset and match Issue please help.
    By ebitda_traps in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-04-2019, 06:44 PM
  3. Issue with a dynamic cell linking/reference formula
    By raravind82 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 10-26-2016, 08:42 AM
  4. [SOLVED] Formula for dynamic data entry (not really sure how to title my issue)
    By howe7032 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-13-2016, 11:19 AM
  5. [SOLVED] Dynamic chart ranges based on formula- Issue on labels
    By james444 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-27-2015, 12:12 AM
  6. [SOLVED] Dynamic chart issue.
    By skyping in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-08-2015, 08:02 AM
  7. Dynamic Range Issue
    By mike21mcd in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-01-2007, 04:42 PM

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