+ Reply to Thread
Results 1 to 5 of 5

Dynamic Sum Based on Date (Sales Next X# Days Out)

  1. #1
    Registered User
    Join Date
    10-21-2016
    Location
    Kansas City, MO
    MS-Off Ver
    2010, 2013
    Posts
    75

    Dynamic Sum Based on Date (Sales Next X# Days Out)

    I have dates in col. 1 and projected sales in col. 2. I'm trying to create a dynamic formula that adds the next 7 days of projected sales together based on the current date/value for "Today". Can you please advise? Not sure of easiest way to do this.
    Attached Files Attached Files

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Dynamic Sum Based on Date (Sales Next X# Days Out)

    Hi,

    =SUM(SUMIF(A:A,E2+{0,1,2,3,4,5,6},B:B))

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

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

    Re: Dynamic Sum Based on Date (Sales Next X# Days Out)

    Please try
    =SUMIFS(B:B,A:A,">="&E2,A:A,"<="&E2+6)

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Dynamic Sum Based on Date (Sales Next X# Days Out)

    Bo_Ry's solution should be about 7 times faster than mine!

    (I was just wanting to demonstrate a potential use of array constants to everyone. )

  5. #5
    Registered User
    Join Date
    10-21-2016
    Location
    Kansas City, MO
    MS-Off Ver
    2010, 2013
    Posts
    75

    Re: Dynamic Sum Based on Date (Sales Next X# Days Out)

    Thanks a lot, Bo_Ry and XOR LX!!

+ 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. Replies: 2
    Last Post: 12-07-2019, 05:43 PM
  2. Replies: 2
    Last Post: 02-26-2019, 01:45 PM
  3. Replies: 5
    Last Post: 02-26-2017, 10:05 PM
  4. [SOLVED] Calculate number of days between sales and prior sales date
    By maacmaac in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-03-2013, 03:07 PM
  5. [SOLVED] sales projection for a month based on several days of data
    By quintans1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-14-2012, 11:34 AM
  6. Replies: 1
    Last Post: 08-25-2010, 11:25 AM
  7. Creating a Dynamic Inventory List Based on Daily Sales
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-29-2005, 11:01 AM

Tags for this Thread

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