Count Values Between Two Dates - Excel COUNTIFS Function

Тәжірибелік нұсқаулар және стиль

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
    @mohideenthassim71807 жыл бұрын

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

  • @Computergaga

    @Computergaga

    7 жыл бұрын

    Your welcome Mohideen, thank you for your comments.

  • @mohamedmami2480
    @mohamedmami24807 жыл бұрын

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

  • @Computergaga

    @Computergaga

    7 жыл бұрын

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

  • @Brenden464554
    @Brenden4645545 жыл бұрын

    Thanks! I was looking for this!

  • @Computergaga

    @Computergaga

    5 жыл бұрын

    Happy to help Branden.

  • @thethomasgrouplv
    @thethomasgrouplv4 жыл бұрын

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

  • @Computergaga

    @Computergaga

    4 жыл бұрын

    Excellent! It is my pleasure.

  • @muhammadimranbukhari938
    @muhammadimranbukhari9385 жыл бұрын

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

  • @timcook9791
    @timcook97915 жыл бұрын

    Thank you so much....Huge help!

  • @Computergaga

    @Computergaga

    5 жыл бұрын

    Great to hear that Tim.

  • @irshadmirasa9289
    @irshadmirasa92897 жыл бұрын

    very useful. Thank you Sir!

  • @Computergaga

    @Computergaga

    7 жыл бұрын

    Your welcome Irshad, thank you friend.

  • @japarican25
    @japarican253 жыл бұрын

    Thank you, very useful towards final assignment.

  • @Computergaga

    @Computergaga

    3 жыл бұрын

    Glad it was helpful!

  • @davidegan7445
    @davidegan74456 жыл бұрын

    Big help thank you!

  • @Computergaga

    @Computergaga

    6 жыл бұрын

    You're welcome David, thank you.

  • @kaitlynjenkins1381
    @kaitlynjenkins13815 жыл бұрын

    Perfect and simple

  • @Computergaga

    @Computergaga

    5 жыл бұрын

    Thank you Kaitlyn.

  • @aamenrique
    @aamenrique2 жыл бұрын

    Thank you! Very useful!

  • @Computergaga

    @Computergaga

    2 жыл бұрын

    Thank you 👍

  • @SanjayKumar-yx6gc
    @SanjayKumar-yx6gc7 жыл бұрын

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

  • @vinayramachandran4992
    @vinayramachandran49924 жыл бұрын

    Thanks was searching for this!!!!!

  • @Computergaga

    @Computergaga

    4 жыл бұрын

    Glad I could help Vinay

  • @IqbalSajid
    @IqbalSajid4 жыл бұрын

    Thanks, really useful

  • @Computergaga

    @Computergaga

    4 жыл бұрын

    My pleasure Iqbal. Thank you.

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

  • @mattw785
    @mattw785 Жыл бұрын

    Great video, makes this very simple

  • @Computergaga

    @Computergaga

    Жыл бұрын

    Glad it helped

  • @lalala622
    @lalala6223 жыл бұрын

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

  • @SanjayKumar-yx6gc
    @SanjayKumar-yx6gc7 жыл бұрын

    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 жыл бұрын

    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 жыл бұрын

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

  • @maliniinbaselvan1446
    @maliniinbaselvan14463 жыл бұрын

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

  • @zaydarendse2812
    @zaydarendse28123 жыл бұрын

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

  • @Computergaga

    @Computergaga

    3 жыл бұрын

    No worries., Zayd 👍

  • @mcgame_on7830
    @mcgame_on78303 жыл бұрын

    Life saver! Thanks!!

  • @Computergaga

    @Computergaga

    3 жыл бұрын

    Happy to help!

  • @iamostafa
    @iamostafa4 жыл бұрын

    Thank you for shating such useful information

  • @Computergaga

    @Computergaga

    4 жыл бұрын

    You're welcome. Thank you, Abu.

  • @outerspacekaloy
    @outerspacekaloy5 ай бұрын

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

  • @Ruwisk
    @Ruwisk2 жыл бұрын

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

  • @Computergaga

    @Computergaga

    2 жыл бұрын

    Excellent! You're welcome.

  • @maliniinbaselvan1446
    @maliniinbaselvan14463 жыл бұрын

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

  • @yaduverma
    @yaduverma4 жыл бұрын

    thank you!

  • @Computergaga

    @Computergaga

    4 жыл бұрын

    You're welcome Yadu. Thank you.

  • @srikanth7368
    @srikanth73682 жыл бұрын

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

  • @derekporter66
    @derekporter667 жыл бұрын

    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

  • @GeorgeAJululian
    @GeorgeAJululian Жыл бұрын

    Thank you, very useful

  • @Computergaga

    @Computergaga

    Жыл бұрын

    Great! Thanks George.

  • @bernardkwartengyeboah4680
    @bernardkwartengyeboah46805 жыл бұрын

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

  • @Computergaga

    @Computergaga

    5 жыл бұрын

    No problem.

  • @barry3004
    @barry30042 жыл бұрын

    You legend that was driving me nuts 😂 Thanks 👍

  • @Computergaga

    @Computergaga

    2 жыл бұрын

    No problem 👍

  • @user-ss4ux8gk7b
    @user-ss4ux8gk7b5 жыл бұрын

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

  • @Computergaga

    @Computergaga

    5 жыл бұрын

    You're very welcome.

  • @hanpye4053
    @hanpye40534 жыл бұрын

    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!

  • @kmanoj392
    @kmanoj3927 ай бұрын

    Nice teaching

  • @Computergaga

    @Computergaga

    7 ай бұрын

    Thank you very much 👍

  • @omerchant5673
    @omerchant56733 жыл бұрын

    Thank you :)

  • @Computergaga

    @Computergaga

    3 жыл бұрын

    No problem 😊

  • @kamajusan2
    @kamajusan25 жыл бұрын

    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.

  • @rohantherider_
    @rohantherider_2 жыл бұрын

    Helpful

  • @Computergaga

    @Computergaga

    2 жыл бұрын

    Thanks 👍

  • @standoffsniper5693
    @standoffsniper5693 Жыл бұрын

    Thank you.

  • @Computergaga

    @Computergaga

    Жыл бұрын

    You're welcome 👍

  • @nouraal-salman8949
    @nouraal-salman89495 жыл бұрын

    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
    @kbdas99615 жыл бұрын

    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"

  • @norhafiza2908
    @norhafiza29083 ай бұрын

    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?

  • @akd5143
    @akd51432 жыл бұрын

    Thank you

  • @Computergaga

    @Computergaga

    2 жыл бұрын

    You're welcome 😊

  • @Sachinkr108
    @Sachinkr1083 жыл бұрын

    Great Trick

  • @Computergaga

    @Computergaga

    3 жыл бұрын

    Thank you, Yogendra.

  • @SahilSharma-mr3lg
    @SahilSharma-mr3lg Жыл бұрын

    Amazing , can rate you, outstanding

  • @Computergaga

    @Computergaga

    Жыл бұрын

    Thank you so much 😀

  • @samboanfirestation5879
    @samboanfirestation58792 жыл бұрын

    what if the data is in the other sheet?

  • @villafontananorte
    @villafontananorte5 жыл бұрын

    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
    @manishbaps7 жыл бұрын

    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 жыл бұрын

    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

  • @BratvaTV
    @BratvaTV5 жыл бұрын

    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

  • @digitechsavvy
    @digitechsavvy6 ай бұрын

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

  • @gracehancock7023
    @gracehancock70233 жыл бұрын

    THANK YOU :)))

  • @Computergaga

    @Computergaga

    3 жыл бұрын

    No problem, Grace 😊

  • @ardhendubikashchoudhury2487
    @ardhendubikashchoudhury24875 жыл бұрын

    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.

  • @rdwebbii
    @rdwebbii2 жыл бұрын

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

  • @hattamuhammad1676
    @hattamuhammad16763 жыл бұрын

    Bagaimana kalau kreteria tetap pada kolom A.

  • @hampannagokavi6283
    @hampannagokavi62834 жыл бұрын

    Do we need to order the dates??

  • @Computergaga

    @Computergaga

    4 жыл бұрын

    No, it will work in any order.

  • @TotalImmersionIsrael
    @TotalImmersionIsrael6 жыл бұрын

    what if the start date is =today() ?

  • @Computergaga

    @Computergaga

    6 жыл бұрын

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

  • @thanveermuhamed3296
    @thanveermuhamed32964 жыл бұрын

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

  • @Computergaga

    @Computergaga

    4 жыл бұрын

    Sure, just like in the video.

  • @thanveermuhamed3296

    @thanveermuhamed3296

    4 жыл бұрын

    @@Computergaga can you plz explain it

  • @mrlaydback11
    @mrlaydback113 жыл бұрын

    Thanks from the US three years later.

  • @Computergaga

    @Computergaga

    3 жыл бұрын

    You're welcome 😊

  • @mpkelum5206
    @mpkelum52063 жыл бұрын

    Hi,Sir could you please help me

  • @studentcomputer7040
    @studentcomputer70403 жыл бұрын

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

  • @Computergaga

    @Computergaga

    3 жыл бұрын

    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
    @anandaterdale10375 жыл бұрын

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

  • @shananarocks
    @shananarocks2 ай бұрын

    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
    @sajidsheikh79993 жыл бұрын

    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
    @syedimranhosen67453 жыл бұрын

    Too much talking to little technical...

  • @Computergaga

    @Computergaga

    3 жыл бұрын

    My apologies, Syed 😥

  • @pugu404
    @pugu4042 жыл бұрын

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

  • @Computergaga

    @Computergaga

    2 жыл бұрын

    Glad it helped!

Келесі