+ Reply to Thread
Results 1 to 6 of 6

Summing values of a column based on if they are in a certain month and on weekends or days

  1. #1
    Registered User
    Join Date
    05-20-2021
    Location
    Dayton, Ohio
    MS-Off Ver
    365
    Posts
    6

    Summing values of a column based on if they are in a certain month and on weekends or days

    Hello!

    I am trying to sum revenue values by "class" (Cabin,Tent or RV) depending if it is a weekday or weekend. It also needs to be by month. Fridays are considered weekends. I got as far as summing by weekday function, but could not get it to sum by month.

    Tent rentals by weekend for January, Feb, March, Etc.
    Tent rentals by weekday for January, Feb, March, etc.

    I'd also like to average the occupancy by weekend by month.
    Same for weekdays.

  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. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,808

    Re: Summing values of a column based on if they are in a certain month and on weekends or

    I don't see where you have mocked up expected results.
    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
    Registered User
    Join Date
    05-20-2021
    Location
    Dayton, Ohio
    MS-Off Ver
    365
    Posts
    6

    Re: Summing values of a column based on if they are in a certain month and on weekends or

    Hello. Thanks for looking at this.

    In the first 18 rows or so I have the months trailing to the right with the ALL TIME in column F November of 2022 in Column H, October 2022, Column I, so on. (i'll eventually move it to a DASHBOARD tab, but left on same tab for simplicity). In columns AR-AZ I have the Occupancy and revenue by class (well actually only for Class A as that's were I got stuck, but will add revenue for classes R and T. The days moving down in those columns are conditionally formatted to show weekends (but only Sat and Sun.. I've decided to add Friday to the weekend totals as well)

  4. #4
    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. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,808

    Re: Summing values of a column based on if they are in a certain month and on weekends or

    Not sure you understood my question: I am looking for the RESULTS you want. Where have you manually mocked these up?

  5. #5
    Registered User
    Join Date
    05-20-2021
    Location
    Dayton, Ohio
    MS-Off Ver
    365
    Posts
    6

    Re: Summing values of a column based on if they are in a certain month and on weekends or

    I haven't and didn't think to do so. Sorry for inconveniencing you. I have been working on it since uploading so I'll need to take thread down, mock up desired RESULTS and re-upload.

  6. #6
    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. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,808

    Re: Summing values of a column based on if they are in a certain month and on weekends or

    No - all you need to do is add a new workbook to your next post to THIS thread with the expected results added. No need for a new thread (you are not allowed duplicate threads here).

+ 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] Suming values based of multiple column categories and comparing month to month
    By benoj2005 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 12-24-2021, 03:48 AM
  2. [SOLVED] Average total by no. of days in a month excluding weekends
    By ibrmoh in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-14-2020, 04:52 PM
  3. [SOLVED] How to calculate task schedule based on 4-days work and 4-days OFF including weekends
    By qadeerume in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-28-2020, 12:19 AM
  4. Business Days in a Month Excluding Holidays, Including Weekends
    By jenniescharms in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2019, 10:42 AM
  5. [SOLVED] Summing Values Based on Date/Month
    By TARR01 in forum Excel General
    Replies: 11
    Last Post: 04-29-2016, 05:48 PM
  6. [SOLVED] Summing values in one column based on their adjacent values
    By undoubtedlymegz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-07-2013, 04:57 PM
  7. summing certain values based on what is in another column
    By okg in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-14-2011, 01:30 PM

Tags for this Thread

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