+ Reply to Thread
Results 1 to 4 of 4

Sum rows with same value and colums until a specific date

Hybrid View

  1. #1
    Registered User
    Join Date
    01-17-2017
    Location
    Rotterdam Netherlands
    MS-Off Ver
    2002
    Posts
    6

    Sum rows with same value and colums until a specific date

    Hello all,

    I'm struggling with a formula and can't figure it out. I have a matrix of data (rows with names and columns with dates).
    I'm looking for a formula to add the row values until a specific date/column. In cell E1 I have the name it needs to match in the rows.
    So far I have the following; =SUMIFS(INDEX($A$4:$AJ$99;MATCH($E$1;$A$4:$A$99;0);0);$A$4:$AJ$4;"<"&$G$1).

    But this only adds 1 row until the correct date, while I have at least 3 rows with the same name as in cell E1.

    Can anyone tell me what I am doing wrong?
    Attached Files Attached Files
    Last edited by Katja226; 12-18-2019 at 03:45 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,781

    Re: Sum rows with same value and colums until a specific date

    Please see the yellow banner at the top of the page - it tells you how to attach your workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: Sum rows with same value and colums until a specific date

    try
    =SUMPRODUCT((B9:B22=E1)*(D4:Q4<=G1)*(D9:Q22))
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Registered User
    Join Date
    01-17-2017
    Location
    Rotterdam Netherlands
    MS-Off Ver
    2002
    Posts
    6

    Talking Re: Sum rows with same value and colums until a specific date

    Great, that works perfect! Thanks Samba_ravi

+ 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] Subtract two date colums and count rows with specific values
    By waylynjohnston1 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-06-2016, 06:45 PM
  2. [SOLVED] Macro to insert specific number of rows, populate rows with data above except date
    By Melissa Camp in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-08-2015, 03:59 PM
  3. Replies: 4
    Last Post: 03-17-2014, 12:39 PM
  4. Copying specific colums and full rows
    By firestorm61 in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 03-16-2013, 03:02 PM
  5. Replies: 0
    Last Post: 10-23-2012, 04:59 PM
  6. Show specific rows and colums on dropdown list selection
    By info5 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-07-2012, 02:22 AM
  7. Print few rows with many colums so that rows wrap on printed pages
    By usfgradstudent31 in forum Excel General
    Replies: 1
    Last Post: 10-20-2005, 10: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