Count Values Between Two Dates - Excel COUNTIFS Function

Поделиться
HTML-код
  • Опубликовано: 23 апр 2017
  • In this video tutorial, we count values between two dates on a spreadsheet using the COUNTIFS function.
    The two dates are entered onto the spreadsheet making the date range easy to adjust in the future without having to edit the formula.
    Master Excel today with this comprehensive course - bit.ly/UltimateExcel
    The criteria for the COUNTIFS function must either be entered into a cell, or entered as text. In this example, we did a bit of both. The date was in a cell, but the testing part of the criteria was entered as a string and joined.
    Find more great free tutorials at;
    www.computergaga.com
    ** Online Excel Courses **
    The Ultimate Excel Course - Learn Everything ► bit.ly/UltimateExcel
    Excel VBA for Beginners ► bit.ly/37XSKfZ
    Advanced Excel Tricks ► bit.ly/3CGCm3M
    Excel Formulas Made Easy ► bit.ly/2ujtOAN
    Creating Sports League Tables and Tournaments in Excel ► bit.ly/2Siivkm
    Connect with us!
    LinkedIn ► / 18737946
    Instagram ► / computergaga1
    Twitter ► / computergaga1
  • ХоббиХобби

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

  • @thethomasgrouplv
    @thethomasgrouplv 4 года назад +4

    THANK YOU! This solves a problem I was trying to fix for HOURS!

  • @mohideenthassim7180
    @mohideenthassim7180 7 лет назад +3

    Thank you! Alan, another great gem of yours as always. Thanks Mohideen

    • @Computergaga
      @Computergaga  7 лет назад

      Your welcome Mohideen, thank you for your comments.

  • @kmanoj392
    @kmanoj392 7 месяцев назад

    Nice teaching

  • @Brenden464554
    @Brenden464554 5 лет назад +1

    Thanks! I was looking for this!

  • @mohamedmami2480
    @mohamedmami2480 7 лет назад +2

    Thanks a lot Alan... it's really useful and wonderful video. Looking forward to more useful videos.

    • @Computergaga
      @Computergaga  7 лет назад +1

      Thanks Mohamed. You know there are more to come :)

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

    Thank you for this!! Relieved me from further intense migraine due to date logic 😅

  • @irshadmirasa9289
    @irshadmirasa9289 7 лет назад +1

    very useful. Thank you Sir!

    • @Computergaga
      @Computergaga  7 лет назад

      Your welcome Irshad, thank you friend.

  • @timcook9791
    @timcook9791 5 лет назад +1

    Thank you so much....Huge help!

  • @davidegan7445
    @davidegan7445 6 лет назад +1

    Big help thank you!

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

    Thank you! Very useful!

  • @japarican25
    @japarican25 3 года назад

    Thank you, very useful towards final assignment.

  • @kaitlynjenkins1381
    @kaitlynjenkins1381 5 лет назад

    Perfect and simple

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

    Thank you.

  • @IqbalSajid
    @IqbalSajid 4 года назад +1

    Thanks, really useful

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

    Great video, makes this very simple

  • @SahilSharma-mr3lg
    @SahilSharma-mr3lg Год назад

    Amazing , can rate you, outstanding

  • @mcgame_on7830
    @mcgame_on7830 3 года назад

    Life saver! Thanks!!

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

    Thank you so much. What if i want “=“today() ? its not work and always get zero 😢 i used countifs,dcounta, same Problem , i try also put name of cell Which had Formula of today, Again Zero💔 .

  • @iamostafa
    @iamostafa 4 года назад

    Thank you for shating such useful information

  • @vinayramachandran4992
    @vinayramachandran4992 4 года назад

    Thanks was searching for this!!!!!

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

    Thank you

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

    Thank you, very useful

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

    Thanks a lot, man. You saved me a lot of routine job with this "&"

  • @yaduverma
    @yaduverma 4 года назад

    thank you!

    • @Computergaga
      @Computergaga  4 года назад +1

      You're welcome Yadu. Thank you.

  • @zaydarendse2812
    @zaydarendse2812 3 года назад

    Wow!! Life saver!! i was about to do pivots and all sorts of other funny things :)) thanks so much for sharing !!

  • @muhammadimranbukhari938
    @muhammadimranbukhari938 5 лет назад

    If I have many columns of different categories and I have to count amy specific category with specific date range or month range ?

  • @omerchant5673
    @omerchant5673 3 года назад

    Thank you :)

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

    Helpful

  • @bernardkwartengyeboah4680
    @bernardkwartengyeboah4680 5 лет назад +1

    Thanks very much ...........Chaw help

  • @Sachinkr108
    @Sachinkr108 3 года назад

    Great Trick

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

    THANK YOU :)))

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

    You legend that was driving me nuts 😂
    Thanks 👍

  • @user-ss4ux8gk7b
    @user-ss4ux8gk7b 5 лет назад

    Thaaaaaaaanks it was very helpful video so appreciate 🙏🏼❤️

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

    I have a table and want to count the number of cells in a column with specific text but only if the dates in another column are between 2 dates - basically if it says "Booked On" and is in January or February and so on. Any ideas ?

  • @mrlaydback11
    @mrlaydback11 3 года назад

    Thanks from the US three years later.

  • @SanjayKumar-yx6gc
    @SanjayKumar-yx6gc 7 лет назад +2

    Thank you so much Alan, Really, this was very useful for us. We want same thing by using sumproduct formula. Is it possible ?

    • @Computergaga
      @Computergaga  7 лет назад +1

      No problem Sanjay. The SUMPRODUCT function below could be used on the same worksheet to get the answer we need.
      =SUMPRODUCT((A2:A16>=E3)*(A2:A16

    • @SanjayKumar-yx6gc
      @SanjayKumar-yx6gc 7 лет назад +1

      Many-2 Thank Alan, Looking forward to more useful videos for sumproduct function.

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

    can you please explain the same sum for the data contains continuously in a next column i am expecting your reply thankyou

  • @SanjayKumar-yx6gc
    @SanjayKumar-yx6gc 7 лет назад

    If yes, then how , could you provide us syntax? I would be really appreciated.

  • @maliniinbaselvan1446
    @maliniinbaselvan1446 3 года назад

    hi, how put countifs function for date wise data for the continuous columns

  • @norhafiza2908
    @norhafiza2908 3 месяца назад

    What if on each date, i add on the sales has been closed or still open...how/which formula can i use to identify the open or closed sales in between two dates?

  • @derekporter66
    @derekporter66 7 лет назад

    thanks again for another video. I seem to off hit a wall in my carreer. I have advanced excel and very good vba but not sure where to go next. what would you recommend? thanks

    • @Computergaga
      @Computergaga  7 лет назад

      If you want to stay on this path, the next logical things to learn are Power BI and SQL or Python. These are not things I have done tutorials on, but there is plenty more to learn.

    • @derekporter66
      @derekporter66 7 лет назад

      SQL pops up A lot in job specs. as well as knowing A bit about finance. thanks

  • @digitechsavvy
    @digitechsavvy 6 месяцев назад

    I want to use this function in MS Excel 2016, but it's showing zero instead of range count.

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

    Sir, there is a question, provide the count of dates before 2015? Could you please provide the formula for this?

  • @kbdas9961
    @kbdas9961 5 лет назад +1

    Hi,
    How to know if you want to know on the above mentioned example, how many number of sales happened between these dates which are above say for example Euro 10,000

    • @Computergaga
      @Computergaga  5 лет назад

      The COUNTIFS function can handle further criteria. So you could add a further argument for B2:B16,">=10000"

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

    Mine only worked when I take out the equal signs...

  • @hanpye4053
    @hanpye4053 4 года назад

    Thank you for your video! I would like to know how I can count non-zero cells between two dates. The two dates are not fixed and can be changed. Essentially, I am trying to find the average between the two dates but only want to divide the total with the non-zero cells in the range. Thank you again for your kindness.

    • @Computergaga
      @Computergaga  4 года назад

      You could use the AVERAGEIFS function. Set conditions for the two dates by referencing cells and also a condition to be >0.

    • @hanpye2341
      @hanpye2341 4 года назад

      Thank you so much! You are a great teacher!

  • @nouraal-salman8949
    @nouraal-salman8949 5 лет назад

    Thank you i need this sooo much but what if my date like ( 1 january 2019) it can be or i need to change it

    • @Computergaga
      @Computergaga  5 лет назад

      As long as the cell is formatted as a date, then it is no problem.

    • @nouraal-salman8949
      @nouraal-salman8949 5 лет назад

      Computergaga thank you i will try it

  • @kamajusan2
    @kamajusan2 5 лет назад

    Is it possible for this formula to count the dates if there is text next to it? For example: the range selected has Mr. Smith 20/04/2018. Would the Mr. Smith verbiage effect the formula counting the date?

    • @Computergaga
      @Computergaga  5 лет назад

      Yes. Really you would want to extract the date out of that cell into its own column ready for the formula.

  • @villafontananorte
    @villafontananorte 5 лет назад

    Hello. Let say you have another columns with random names. What formula would use to tell Google to find how many times a specific name repeats itself in the last 2 weeks?

    • @Computergaga
      @Computergaga  5 лет назад

      In the video you could enter something like =TODAY()-14 in the start date cell. This will be the date 2 weeks ago. Then use the formula as in the video and highlight all the columns involved.

  • @manishbaps
    @manishbaps 7 лет назад +1

    Can we choose date using an active X calendar control or a calendar like in html instead of manually typing the dates?? can u please show us that.

    • @Computergaga
      @Computergaga  7 лет назад +1

      Absolutely, you can insert a calendar control for easy date entry. This control can be inked to a cell and then that cell can be used in a formula like the one in this video.
      I'll try and get a video on the ActiveX calendar control done.

    • @manishbaps
      @manishbaps 7 лет назад

      thanks a lot ... waiting for the video... along with videos u can also include basic vba code..that can add to various functionalities... thanks for such wonderful videos...

    • @Computergaga
      @Computergaga  7 лет назад

      No problem Manish

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

    what if the data is in the other sheet?

  • @hampannagokavi6283
    @hampannagokavi6283 4 года назад

    Do we need to order the dates??

  • @BratvaTV
    @BratvaTV 5 лет назад

    Im looking for a formula where I can enter a date in one cell, say an application date. Then enter dates in a row of cells where if I enter a date in any of those sells thats say three business days beyond the application date, I get an alert or highlight or whatever. if the date is within the three days then it gets a green signal or something showing me that its in range. Can anybody help?

    • @treenoirephotography
      @treenoirephotography 4 года назад

      look into conditional formatting. It should work in a similar way as above

  • @mpkelum5206
    @mpkelum5206 3 года назад

    Hi,Sir could you please help me

  • @ardhendubikashchoudhury2487
    @ardhendubikashchoudhury2487 5 лет назад

    My datevalue fuction making error as value# what is its soving

    • @Computergaga
      @Computergaga  5 лет назад

      DATEVALUE producing this type of error typically wen it does not recognise a value as a date. I would check the format of the cell, or entry into that function.

  • @TotalImmersionIsrael
    @TotalImmersionIsrael 6 лет назад

    what if the start date is =today() ?

    • @Computergaga
      @Computergaga  6 лет назад

      You can use ">="&TODAY() as the criteria.

  • @hattamuhammad1676
    @hattamuhammad1676 3 года назад

    Bagaimana kalau kreteria tetap pada kolom A.

  • @anandaterdale1037
    @anandaterdale1037 5 лет назад

    HOW WORK IT IS IN PERCENTAGE
    is means 90% between 100% numbers count

  • @studentcomputer7040
    @studentcomputer7040 3 года назад

    How Can Use This formola for count =SUMIFS(C12:C31008,G12:G31008,">="&A6,G12:G31008,"

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

      That formula looks good. It is SUMIFS though so will sum the values, not count them.

    • @studentcomputer7040
      @studentcomputer7040 3 года назад

      @@Computergaga then how to calculate the values in two dates

    • @studentcomputer7040
      @studentcomputer7040 3 года назад

      @@Computergaga thanks for reply

    • @studentcomputer7040
      @studentcomputer7040 3 года назад

      @@Computergaga then how to count it

  • @thanveermuhamed3296
    @thanveermuhamed3296 4 года назад

    If date range between 1/1/2019 to 31/1/19 then count children. Can i get formula for this

  • @sajidsheikh7999
    @sajidsheikh7999 3 года назад

    Count 2 Date range in Excel, that's it...remain with the topic & make video of 30 seconds please..
    Example - 1 Jan 2020 to 5 Feb 2020 is 36 Days

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

    How to count the number of Sundays in Column A with running dates. Having a brain freeze.

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

      You can use a formula such as =SUM(--(WEEKDAY(tblData[Date],2)=7))
      In this example, tblData[Date] is used in place of column A. Select any range you want for that, preferably not an entire column though.

  • @syedimranhosen6745
    @syedimranhosen6745 3 года назад

    Too much talking to little technical...

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

    ahh.. that was so great.. thanks so much..
    before i found the Answer from here,, i was try by using a VBA Code.. but still got nothing..
    i was try to find the Value from a between 2 date like =SUMIFS(Sales, Date,">="&E3,Date,"