+ Reply to Thread
Results 1 to 4 of 4

Sum by Month with different dates

  1. #1
    Registered User
    Join Date
    08-08-2018
    Location
    Bangkok
    MS-Off Ver
    MS365 for Mac (latest version)
    Posts
    85

    Sum by Month with different dates

    Hello all,

    I have a list of guests that come into my hotel periodically (different check-in and check-out dates)
    I have created areas for each of their stays
    I would need to be able to sum by month of their check-out date (I marked in GREEN in my sheet attached)

    THANKS A LOT
    Attached Files Attached Files
    Last edited by NicBKK; 03-05-2019 at 08:54 PM.

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

    Re: Sum by Month with different dates

    Use the following formulae in the cells stated:

    Q16: =COUNTIFS(P$5:P$14,">="&N16,P$5:P$14,"<"&EOMONTH(N16,0))

    R16: =SUMIFS(R$5:R$14,P$5:P$14,">="&N16,P$5:P$14,"<"&EOMONTH(N16,0))

    Copy these down to row 27.

    Then you can copy that block of green cells into the other block.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    08-08-2018
    Location
    Bangkok
    MS-Off Ver
    MS365 for Mac (latest version)
    Posts
    85

    Re: Sum by Month with different dates

    Thanks a lot Pete, that worked ��

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

    Re: Sum by Month with different dates

    You're welcome - thanks for the rep.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Pete

+ 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. Replies: 1
    Last Post: 07-02-2017, 08:02 PM
  2. [SOLVED] Calculation of days per month for dates beginning in one month and ending in another month
    By Fahrettin in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-07-2015, 04:52 PM
  3. [SOLVED] Renaming Sheets with present month, all dates of that particular month
    By laansesu in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-04-2015, 08:43 AM
  4. [SOLVED] Is there a way to insert all dates for a month weekly when user inputs Month and a Year?
    By uniqbboy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2014, 10:40 AM
  5. find time left in month.days unit between two dates(in YEAR.MONTH.DAY)
    By xcfeng95 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 02-21-2014, 12:55 PM
  6. Date Formula for days of the month, new dates starting on the 2nd of the month.
    By Kenn Jerger in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-04-2013, 01:31 AM
  7. Replies: 2
    Last Post: 12-01-2012, 03:06 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