Count Values Between Two Dates - Excel COUNTIFS Function

แชร์
ฝัง
  • เผยแพร่เมื่อ 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

  • @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.

  • @outerspacekaloy
    @outerspacekaloy 5 หลายเดือนก่อน

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

  • @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 :)

  • @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 ?

  • @thethomasgrouplv
    @thethomasgrouplv 4 ปีที่แล้ว +4

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

    • @Computergaga
      @Computergaga  4 ปีที่แล้ว +1

      Excellent! It is my pleasure.

  • @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 ?

  • @Brenden464554
    @Brenden464554 5 ปีที่แล้ว +1

    Thanks! I was looking for this!

  • @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💔 .

  • @timcook9791
    @timcook9791 5 ปีที่แล้ว +1

    Thank you so much....Huge help!

  • @irshadmirasa9289
    @irshadmirasa9289 7 ปีที่แล้ว +1

    very useful. Thank you Sir!

    • @Computergaga
      @Computergaga  7 ปีที่แล้ว

      Your welcome Irshad, thank you friend.

  • @maliniinbaselvan1446
    @maliniinbaselvan1446 3 ปีที่แล้ว

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

  • @SanjayKumar-yx6gc
    @SanjayKumar-yx6gc 7 ปีที่แล้ว

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

  • @zaydarendse2812
    @zaydarendse2812 3 ปีที่แล้ว

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

  • @japarican25
    @japarican25 3 ปีที่แล้ว

    Thank you, very useful towards final assignment.

  • @Ruwisk
    @Ruwisk 2 ปีที่แล้ว

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

    • @Computergaga
      @Computergaga  2 ปีที่แล้ว

      Excellent! You're welcome.

  • @vinayramachandran4992
    @vinayramachandran4992 4 ปีที่แล้ว

    Thanks was searching for this!!!!!

  • @aamenrique
    @aamenrique 2 ปีที่แล้ว

    Thank you! Very useful!

  • @davidegan7445
    @davidegan7445 6 ปีที่แล้ว +1

    Big help thank you!

    • @Computergaga
      @Computergaga  6 ปีที่แล้ว

      You're welcome David, thank you.

  • @mcgame_on7830
    @mcgame_on7830 3 ปีที่แล้ว

    Life saver! Thanks!!

  • @mattw785
    @mattw785 ปีที่แล้ว

    Great video, makes this very simple

  • @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

  • @kaitlynjenkins1381
    @kaitlynjenkins1381 5 ปีที่แล้ว

    Perfect and simple

  • @srikanth7368
    @srikanth7368 2 ปีที่แล้ว

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

  • @IqbalSajid
    @IqbalSajid 4 ปีที่แล้ว +1

    Thanks, really useful

    • @Computergaga
      @Computergaga  4 ปีที่แล้ว

      My pleasure Iqbal. Thank you.

  • @barry3004
    @barry3004 2 ปีที่แล้ว

    You legend that was driving me nuts 😂
    Thanks 👍

  • @iamostafa
    @iamostafa 4 ปีที่แล้ว

    Thank you for shating such useful information

    • @Computergaga
      @Computergaga  4 ปีที่แล้ว

      You're welcome. Thank you, Abu.

  • @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?

  • @GeorgeAJululian
    @GeorgeAJululian ปีที่แล้ว

    Thank you, very useful

  • @SahilSharma-mr3lg
    @SahilSharma-mr3lg ปีที่แล้ว

    Amazing , can rate you, outstanding

  • @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.

  • @omerchant5673
    @omerchant5673 3 ปีที่แล้ว

    Thank you :)

  • @yaduverma
    @yaduverma 4 ปีที่แล้ว

    thank you!

    • @Computergaga
      @Computergaga  4 ปีที่แล้ว +1

      You're welcome Yadu. Thank you.

  • @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

  • @standoffsniper5693
    @standoffsniper5693 ปีที่แล้ว

    Thank you.

  • @gracehancock7023
    @gracehancock7023 2 ปีที่แล้ว

    THANK YOU :)))

  • @akd5143
    @akd5143 2 ปีที่แล้ว

    Thank you

  • @kmanoj392
    @kmanoj392 7 หลายเดือนก่อน

    Nice teaching

    • @Computergaga
      @Computergaga  7 หลายเดือนก่อน

      Thank you very much 👍

  • @bernardkwartengyeboah4680
    @bernardkwartengyeboah4680 5 ปีที่แล้ว +1

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

  • @rohantherider_
    @rohantherider_ 2 ปีที่แล้ว

    Helpful

  • @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!

  • @Sachinkr108
    @Sachinkr108 3 ปีที่แล้ว

    Great Trick

  • @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.

  • @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

  • @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"

  • @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

  • @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.

  • @user-ss4ux8gk7b
    @user-ss4ux8gk7b 5 ปีที่แล้ว

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

  • @samboanfirestation5879
    @samboanfirestation5879 2 ปีที่แล้ว

    what if the data is in the other sheet?

  • @digitechsavvy
    @digitechsavvy 6 หลายเดือนก่อน

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

  • @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

  • @rdwebbii
    @rdwebbii 2 ปีที่แล้ว

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

  • @hattamuhammad1676
    @hattamuhammad1676 3 ปีที่แล้ว

    Bagaimana kalau kreteria tetap pada kolom A.

  • @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.

  • @mrlaydback11
    @mrlaydback11 3 ปีที่แล้ว

    Thanks from the US three years later.

  • @hampannagokavi6283
    @hampannagokavi6283 4 ปีที่แล้ว

    Do we need to order the dates??

    • @Computergaga
      @Computergaga  4 ปีที่แล้ว

      No, it will work in any order.

  • @thanveermuhamed3296
    @thanveermuhamed3296 4 ปีที่แล้ว

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

  • @TotalImmersionIsrael
    @TotalImmersionIsrael 6 ปีที่แล้ว

    what if the start date is =today() ?

    • @Computergaga
      @Computergaga  6 ปีที่แล้ว

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

  • @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

  • @anandaterdale1037
    @anandaterdale1037 5 ปีที่แล้ว

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

  • @mpkelum5206
    @mpkelum5206 3 ปีที่แล้ว

    Hi,Sir could you please help me

  • @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.

  • @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

  • @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,"