Count the number of times a month appears within in a range!

Поделиться
HTML-код
  • Опубликовано: 23 июл 2021
  • Support Me & More: linktr.ee/benthompsonuk
    Do you know how to count the number of times a specific month appears in a range of dates?
    This scenario is made really easy with the use of the SUMPRODUCT function in excel! Not sure how to use SUMPRODUCT? Watch this video and I'll show you how!
    This video is in response to a recent question I received, so if you have a question or subject you would like me to cover, just drop a comment below this video and I will do my best! 😃
    Instructor Lead Excel Course ► essentialexceluk.com/products...
    VBA Playlist ► essentialexceluk.com/blogs/tu...
    More Tutorials ► essentialexceluk.com/blogs/tu...
    #excel #vba #tutorial #msexcel #macros #visualbasic

Комментарии • 33

  • @EssentialExcel
    @EssentialExcel  3 года назад +2

    I hope you enjoyed this tutorial 😃 If you did please give it a LIKE... and don’t forget to SUBSCRIBE for even more content!
    For More 👉 ruclips.net/user/EssentialExcel

    • @vernoncamat3078
      @vernoncamat3078 Год назад

      How about for January? Blanks are also counted as 1

  • @nadermounir8228
    @nadermounir8228 3 года назад +1

    Thank u for the video. Great one 👌

  • @safiyaaldrees2542
    @safiyaaldrees2542 Год назад +1

    Incredibaly helpful. Thanks a lit.

  • @jeyameneses5175
    @jeyameneses5175 2 месяца назад

    THANK YOU SO MUCH!!!

  • @GAmontfort
    @GAmontfort 2 года назад +2

    For December is counting all the occurrences of 12 but all so the empty cells

  • @Keytliin
    @Keytliin 2 года назад +3

    hI! when I put one (1) for January, it's not working :( help

  • @jonathanjackson991
    @jonathanjackson991 2 года назад +3

    Worked well apart from January, any advice?

    • @jthomas0298
      @jthomas0298 Год назад +2

      I’m having an issue with January also

    • @bombem1
      @bombem1 Год назад +1

      I am also having an issue with January IF I have blanks in the list.

  • @GeorgeAJululian
    @GeorgeAJululian 2 года назад +1

    thanks very helpful

  • @caluml1143
    @caluml1143 Год назад +1

    Great video. I do have one question though. I am currently counting the number of times a date comes up in a dataset. However, the dataset has got “TBC” next to some actions, so not every cell is populated with a date. This then messes up the formula and instead of giving an answer just provides “#Value!”. Could you recommend a way to fix this issue. Thanks!

  • @TheF22raptorang
    @TheF22raptorang 5 месяцев назад

    ❤❤❤🎉🎉🎉 thanks sir.

  • @DJEK73
    @DJEK73 2 года назад

    Exactly what I was looking for. Thanks much!

  • @accountingchannel6797
    @accountingchannel6797 2 года назад +1

    blank cells is counted, what formula for exception?

  • @martaymay5319
    @martaymay5319 Год назад +2

    Really good and a big help. Similarly, my range covers more than one year eg I might have 3 Februarys in 2022 and 1 in 2023. How do I show how many in each year because this way will show 4 overall?

    • @MKay-xt9cu
      @MKay-xt9cu 6 месяцев назад

      i also want to about this how do i know which formula to use for this situation?

  • @Lol-vt2ln
    @Lol-vt2ln Год назад

    I’m doing this but changing the month value to an entire column (g:g) and getting a value error. Would you know why this is the case? Thanks for the video!

  • @StevieC82
    @StevieC82 Год назад

    What would the formula be if I wanted to count the number of occurrences of a person's name in a month?

  • @user-cb5hn6cf6l
    @user-cb5hn6cf6l 7 месяцев назад

    I have used this formula with success until I needed to count the times December appeared. The formula then returned the wrong count, I think this is because there are clank cells and all blank cells equal December... so how can I ignore the blank cells within this formula? =SUMPRODUCT(--((MONTH(L2:L472)=12)))

  • @thtgrldiana6388
    @thtgrldiana6388 2 года назад

    Hi, Thank you for your knowledge sharing! I am managing help desk tickets. I want to perform a calculate function that tells me how many tickets were created on a specific day. I want to show this calculation for each calendar day where an incident was created. I have several columns: I have an INC number column, Date created, Date closed. the date columns are formatted as 01/01/2021 (mm/dd/yyyy). I also want to perform this calculation/function in a seperate worksheet. It seems counting date occurrences are not as straight forward as other sum/count functions. The basic Count/countIf functions are not working and I couldn't figure out how to implement your solution either... please help. 🙂

    • @EssentialExcel
      @EssentialExcel  2 года назад +1

      Hello 👋. This sounds like a topic others would benefit from in a video, will see if I can get this produced over the weekend. 🙂

  • @StevieC82
    @StevieC82 Год назад

    How would I count the number of occurrences in a month based on a name in another column? Thanks

  • @braddas24
    @braddas24 2 года назад +1

    My range of approx 4,000 cells includes blank cells; as the range gets completed as the year progresses.
    Currently there's data for Apr to Jun, the rest show 0 except Jan; which shows approx 3,200 as the blank cells in my range returns as a 1, which is Jan.
    Can you help with this please to ignore the blank cells.
    Many thanks.

    • @matthewaligo1932
      @matthewaligo1932 Год назад

      Did you ever find a solution to this

    • @braddas24
      @braddas24 Год назад

      @Matthew Aligo I'm almost certain I did as I recall the totals all calculating correctly and being able to submit accurate reports. However, since then, the business I work for no longer requires that data to be collected so the workbook has been archived.

    • @jrock-hk7rm
      @jrock-hk7rm 10 месяцев назад

      @@braddas24 please share how you ignored blanks. I also need the way. Thank you in advance.

    • @jrock-hk7rm
      @jrock-hk7rm 10 месяцев назад +1

      Never mind @braddas24, I got it, it's =SUMPRODUCT(--(IF(ISBLANK($ER$3:$ER$113),0,(MONTH($ER$3:$ER$113))=1)))

    • @braddas24
      @braddas24 10 месяцев назад

      @@jrock-hk7rm I have found the archived file.
      I had my data in a worksheet named ‘Data’ and the date in this data is in column F. The totals per month are reported in a separate worksheet in column O, and in this worksheet, I manually listed the month in column M, the year in column N and the totals in column O.
      The formula I used in Column O was from many Google searches and a bit of assistance from my colleague. The following formula is for April 2022.
      =IF(SUMPRODUCT((MONTH(Data!$F$2:$F$3756)=4)*(YEAR(Data!$F$2:$F$3756)=N3))=0,"",SUMPRODUCT((MONTH(Data!$F$2:$F$3756)=4)*(YEAR(Data!$F$2:$F$3756)=N3)))
      To be totally honest, I don’t recall exactly how it works … but it does so was happy with that.
      Hope it helps you.

  • @isabelle7998
    @isabelle7998 2 года назад

    its not working for me