+ Reply to Thread
Results 1 to 5 of 5

SUM up row and column with date range

  1. #1
    Forum Contributor
    Join Date
    05-03-2020
    Location
    London
    MS-Off Ver
    MICROSOFT 365
    Posts
    282

    SUM up row and column with date range

    Hi all,

    Thank you in advance.

    i am trying to add up with criteria from a row and column matching to a specific date range. I have tried to write my my own formula but it has not worked.

    =SUMPRODUCT(('JETS REF & STARTS RAW Data'!$B$6:$ZZ$18)*('JETS REF & STARTS RAW Data'!$A$6:$A$18=A6)*('JETS REF & STARTS RAW Data'!$B$5:$ZZ$5>=DATEVALUE(C23))*('JETS REF & STARTS RAW Data'!$B$5:$ZZ$5<=DATEVALUE(D23)))

    i have attached a sample of the data
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: SUM up row and column with date range

    Rather than the older SUMPRODUCT which was extremely valuable before the SUMIFS & COUNTIFS function, use this now instead.

    =SUMIFS($B6:$AF6,$B$5:$AF$5,">="&C$23,$B$5:$AF$5,"<="&EOMONTH(C$23,0))
    Last edited by Richard Buttrey; 11-11-2021 at 09:11 AM.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,362

    Re: SUM up row and column with date range

    Try

    =SUMPRODUCT(('JETS REF & STARTS RAW Data'!$B$6:$ZZ$18)*('JETS REF & STARTS RAW Data'!$A$6:$A$18=$A6)*('JETS REF & STARTS RAW Data'!$B$5:$ZZ$5>=C$23)*('JETS REF & STARTS RAW Data'!$B$5:$ZZ$5<D$23))
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  4. #4
    Forum Contributor
    Join Date
    05-03-2020
    Location
    London
    MS-Off Ver
    MICROSOFT 365
    Posts
    282

    Re: SUM up row and column with date range

    is there way make it work for range of a6 to a18 as i want to pull down the formula.

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: SUM up row and column with date range

    If you copy the formula in post#2 down it will sum the individual rows 6:18

+ 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. [SOLVED] Place day of week in range of cells form another range date column
    By COURTTROOPER in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-29-2019, 08:12 PM
  2. Replies: 1
    Last Post: 04-12-2019, 08:15 PM
  3. Populating a new column with a date based on a date range
    By rude314 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-20-2016, 05:02 PM
  4. formula question that would use a date range instead of column range?
    By lilsnoop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-22-2015, 01:01 AM
  5. Find most recent date in Column Headings in a Range, insert new column and heading
    By mikey3580 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-07-2014, 08:28 AM
  6. Replies: 1
    Last Post: 02-05-2013, 09:14 AM
  7. Replies: 25
    Last Post: 09-07-2005, 12:05 AM

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