+ Reply to Thread
Results 1 to 12 of 12

Subtotal Between Dates for Current Month

  1. #1
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Thumbs up Subtotal Between Dates for Current Month

    Hi

    Looking for a function to give subtotal for current month

    My table will have entries for the whole year & only need to see current months totals

    See example

    Thanks
    Attached Files Attached Files
    Last edited by mycon73; 02-18-2024 at 12:51 AM.
    MyCon
    -- Using Latest Version of Excel

  2. #2
    Valued Forum Contributor
    Join Date
    10-17-2007
    Location
    Tasmania, Australia
    MS-Off Ver
    2019, 365(v2310)
    Posts
    366

    Re: Subtotal Between Dates for Current Month

    Please Login or Register  to view this content.
    Something like this will get you out of trouble

  3. #3
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Subtotal Between Dates for Current Month

    Hi russkris and others

    Thanks for answering

    Yes - This gets me the current month's total but does not give me subtotal if I filter more.

    I'm looking for a subtotal type of function between dates

    1st to end of the month is only the first filter

    I may filter more such as per week.

    Thanks

  4. #4
    Valued Forum Contributor
    Join Date
    10-17-2007
    Location
    Tasmania, Australia
    MS-Off Ver
    2019, 365(v2310)
    Posts
    366

    Re: Subtotal Between Dates for Current Month

    Obviously there is more to this workbook then has been shared. Your original request to "give subtotal for current month" is complete.

    Sound like it would be better to create a pivot table.

  5. #5
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Subtotal Between Dates for Current Month

    russkris

    Yes - I did state this forgetting to add the filter options or requests.

    However, I did state my table will show entries for the whole year.


    I also have other categories (not show) to filter such as type of expense entry.

    ← Want subotal for current month - 1st of the month to end of the month
    Needs to also filter or give subtotal when additional filters are selected

    Example - Want to filter for current week - Feb. 12th to Feb. 18th

  6. #6
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: Subtotal Between Dates for Current Month

    I'm looking for a subtotal type of function between dates
    One way:

    Please enter these dates in C3 and D3 and try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Subtotal Between Dates for Current Month

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Subtotal Between Dates for Current Month

    Fluff13

    =SUM(FILTER(D9:D200,(C9:C200>=C3)*(C9:C200<=D3)*(MAP(C9:C200,LAMBDA(m,SUBTOTAL(103,m))))))


    Works great!

    What do these mean?

    MAP
    LAMBDA

    Thanks everyone for assisting

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

    Re: Subtotal Between Dates for Current Month

    or, another variation on a theme:

    =SUM(FILTER(D9:D200,(C9:C200>=C3)*(C9:C200<=D3)*(MAP(C9:C200,LAMBDA(m,AGGREGATE(3,7,m))))))
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  10. #10
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Subtotal Between Dates for Current Month

    This also Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  11. #11
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Subtotal Between Dates for Current Month

    Glad to help & thanks for the feedback.

    MAP & LAMBDA are Excel functions, https://exceljet.net/functions/map-function

  12. #12
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Subtotal Between Dates for Current Month

    Hi Everyone

    Thanks for the great feedback and options!

+ 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] Sum If Dates Are In Current Month
    By oliveloaf in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-10-2023, 02:06 PM
  2. [SOLVED] Cells populate with current month's dates minus dates from Table
    By Ajaxs87 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-07-2022, 06:31 PM
  3. [SOLVED] Populate dates for current month
    By rayted in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-10-2022, 07:49 AM
  4. Need help with sorting current month dates
    By 527east in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-07-2021, 04:58 PM
  5. [SOLVED] VBA to fill dates of current month sequentially
    By benjhardie in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-10-2019, 06:31 AM
  6. Replies: 1
    Last Post: 04-29-2016, 01:28 PM
  7. Replies: 2
    Last Post: 06-25-2014, 11:17 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