+ Reply to Thread
Results 1 to 8 of 8

Count based on month and location

Hybrid View

  1. #1
    Registered User
    Join Date
    07-09-2020
    Location
    Hampshire
    MS-Off Ver
    365
    Posts
    20

    Count based on month and location

    Hi All

    Trying to come up with a formula to return a value total based on the month and location.

    Please see the attached, hopefully it makes sense 爛

    Thanks
    John
    Attached Files Attached Files

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

    Re: Count based on month and location

    How about
    Formula: copy to clipboard
    =SUMIFS($A:$A,$C:$C,$G4,$B:$B,">="&H$3,$B:$B,"<"&EDATE(H$3,1))

  3. #3
    Registered User
    Join Date
    07-09-2020
    Location
    Hampshire
    MS-Off Ver
    365
    Posts
    20

    Re: Count based on month and location

    Perfect!!

    Thank you so much Fluff13


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

    Re: Count based on month and location

    Another option in H4 only
    Formula: copy to clipboard
    =SUMIFS($A:$A,$C:$C,$G4:G6,$B:$B,">="&H$3:U3,$B:$B,"<"&EDATE(+H$3:U3,1))

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

    Re: Count based on month and location

    Glad to help & thanks for the feedback.

  6. #6
    Registered User
    Join Date
    07-09-2020
    Location
    Hampshire
    MS-Off Ver
    365
    Posts
    20

    Re: Count based on month and location

    Morning

    I was hopeing to add a futher formula to this sheet.

    I'm looking to do a head count from Column A by month again and populate within the highlighted row on the attached.

    Thanks
    John
    Attached Files Attached Files

  7. #7
    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. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,183

    Re: Count based on month and location

    This new question needs its own new thread with a suitable title.

    This thread needs marking as SOLVED. Thanks.
    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.

  8. #8
    Registered User
    Join Date
    07-09-2020
    Location
    Hampshire
    MS-Off Ver
    365
    Posts
    20

    Re: Count based on month and location

    Ok sorry, will do that now.

+ 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] Count fields based on Month
    By Shifty58 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 12-09-2022, 12:11 PM
  2. [SOLVED] Count Date Based on Month
    By cyliyu in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 03-26-2022, 09:35 AM
  3. Replies: 5
    Last Post: 10-17-2021, 01:37 PM
  4. Replies: 1
    Last Post: 04-25-2021, 05:50 AM
  5. Count item based off month when it changes
    By jamesraywebber in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-20-2018, 10:55 AM
  6. [SOLVED] Combine data from Header Month-wise based on Location
    By Linraen7 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-28-2012, 05:47 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