+ Reply to Thread
Results 1 to 8 of 8

Formula to add numbers in a table based on date criteria

Hybrid View

  1. #1
    Registered User
    Join Date
    06-18-2010
    Location
    Orange Park, FL
    MS-Off Ver
    Office 365
    Posts
    78

    Formula to add numbers in a table based on date criteria

    I need to calculate short term loan payment balances (12 months). I have included my worksheet and the tables associated with it along with an explanation. I need the formula to calculate the principal payments from each table for the next 12 months after the date in B1 (or the current ending balance if there are less than 12 payments due).

    For example, based on the attached, #76 should have short term of $10,582.62 (Feb 23 - Jan 24 principal payments).

    Thanks in advance!
    Attached Files Attached Files
    Last edited by kafarrell; 01-19-2023 at 11:50 AM. Reason: To add clarification

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,422

    Re: Formula to add numbers in a table based on date criteria

    Please update your profile (on User CP at the top of the screen) to show the version of Excel that you are currently using. The formulae in column G of your sample file are using XLOOKUP, which was not available in XL2010.

    Pete

  3. #3
    Registered User
    Join Date
    06-18-2010
    Location
    Orange Park, FL
    MS-Off Ver
    Office 365
    Posts
    78

    Re: Formula to add numbers in a table based on date criteria

    Changed... Office 365.

  4. #4
    Registered User
    Join Date
    06-18-2010
    Location
    Orange Park, FL
    MS-Off Ver
    Office 365
    Posts
    78

    Re: Formula to add numbers in a table based on date criteria

    Can you help me now?

  5. #5
    Registered User
    Join Date
    06-18-2010
    Location
    Orange Park, FL
    MS-Off Ver
    Office 365
    Posts
    78

    Re: Formula to add numbers in a table based on date criteria

    When I changed the date to 2/28/23 in Cell B1 in order to calculate short term, it did not change the amounts in Column I.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Formula to add numbers in a table based on date criteria

    Your data tables are nicely organised... Table 76 being the table name for Number 76. So... Try:
    =SUMIFS(INDIRECT("Table"&A3&"[Principal]"),INDIRECT("Table"&A3&"[Date]"),">="&TODAY(),INDIRECT("Table"&A3&"[Date]"),"<"&EDATE(TODAY(),12))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  7. #7
    Registered User
    Join Date
    06-18-2010
    Location
    Orange Park, FL
    MS-Off Ver
    Office 365
    Posts
    78

    Re: Formula to add numbers in a table based on date criteria

    I figured it out! Changed Today in the formula to $B$1. Thank you!!!
    Last edited by kafarrell; 01-31-2023 at 10:41 AM.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Formula to add numbers in a table based on date criteria

    Woo Hoo! Thanks for the feedback!

+ 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] Unlocked Cells in Table based if date criteria met
    By JyothiGrace in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-23-2022, 05:01 PM
  2. Replies: 1
    Last Post: 04-09-2021, 11:09 AM
  3. [SOLVED] Lookup latest date in a table based on 2 criteria
    By mariannehislop in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-29-2015, 04:21 AM
  4. Hide pivot table columns based on date criteria
    By boontz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-16-2014, 09:56 AM
  5. [SOLVED] Index Match Based on One Date Criteria, Table Contains Beginning Date and End Date
    By jcox1953 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-09-2014, 02:41 PM
  6. [SOLVED] Max Date from table based on two criteria
    By Slickdog in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-29-2013, 06:25 AM
  7. [SOLVED] sum data in pivot table based on date criteria
    By joeycrak in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-23-2013, 09:45 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