+ Reply to Thread
Results 1 to 6 of 6

Summing a range based on date matching

  1. #1
    Forum Contributor Saeber4777's Avatar
    Join Date
    06-06-2014
    Location
    United States
    MS-Off Ver
    365 Enterprise
    Posts
    159

    Summing a range based on date matching

    The title makes it sound like a simple sumif function, but it is not.

    I have two tables. Table 1 has a month by month break down of interest charged for that month. Table 2 has a daily breakdown of interest (simple interest accumulated daily and billed monthly).

    Table 1 (simplified):

    A1:B12 = Jan-Dec (formatted as 1/1/22)
    B1:B12 = Interest for that month (formatted as currency)

    Table 2 (simplified):

    A1:A365 = 1/8/22 - 1-7-22 (representing 365 dates)
    B1:B365 = Daily Interest

    I need to sum the range (or a cell with that range already summed) for the daily interest to return to Table 1 (interest for the month). The issue is that the dates in table 1 may change regularly so I need a formula that can search table 2 for the matching days inside of the month criteria in table 1 and sum the interest. Otherwise stated, table 1 criteria = 1/1/22 so I sum all interest related to each day of Jan in table 2).

    I tried using a sumif/index/match function but still only return the first daily interest rate (not a sum range).

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,937

    Re: Summing a range based on date matching

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file and a mocked up solution
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor Saeber4777's Avatar
    Join Date
    06-06-2014
    Location
    United States
    MS-Off Ver
    365 Enterprise
    Posts
    159

    Re: Summing a range based on date matching

    Here is an example book.
    Attached Files Attached Files

  4. #4
    Forum Contributor Saeber4777's Avatar
    Join Date
    06-06-2014
    Location
    United States
    MS-Off Ver
    365 Enterprise
    Posts
    159

    Re: Summing a range based on date matching

    Anyone out there?

  5. #5
    Forum Contributor Saeber4777's Avatar
    Join Date
    06-06-2014
    Location
    United States
    MS-Off Ver
    365 Enterprise
    Posts
    159

    Re: Summing a range based on date matching

    Any help would be greatly appreciated. I've been trying to figure this out for days.

  6. #6
    Forum Contributor Saeber4777's Avatar
    Join Date
    06-06-2014
    Location
    United States
    MS-Off Ver
    365 Enterprise
    Posts
    159

    Re: Summing a range based on date matching

    nm, figured it out. It was a sumif function after all. Just had to use "=<"&CELL. I should have seen that.

+ 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. Sumifs formula not summing numerical range based on date range
    By jonnyp47 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-19-2022, 10:27 PM
  2. [SOLVED] Finding Dates Within Date Range (Based on Today's Date) Whilst Matching Name?
    By EduardStoo in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-08-2019, 10:31 AM
  3. Summing based on date range and text
    By Deva126 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-05-2013, 04:30 PM
  4. Summing downtime based off date and date range
    By Gbuzynski in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-29-2013, 01:43 PM
  5. Summing values based on a dynamic date range
    By welchs101 in forum Excel General
    Replies: 2
    Last Post: 09-27-2011, 07:00 PM
  6. Summing based on Date and Time Range
    By DanSherwood in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-10-2008, 09:32 AM
  7. summing charges based on date range
    By keith0628 in forum Excel General
    Replies: 1
    Last Post: 07-20-2007, 11:08 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