+ Reply to Thread
Results 1 to 5 of 5

problem counting rows in a Month

Hybrid View

  1. #1
    Registered User
    Join Date
    12-16-2016
    Location
    Bergen op Zoom
    MS-Off Ver
    2013
    Posts
    7

    problem counting rows in a Month

    Hi,

    In one of my Coloms I've the following data:

    Date
    24-nov-2016 12:12:43
    09-nov-2016 18:28:45
    10-nov-2016 05:30:46
    17-nov-2016 07:35:25
    22-nov-2016 11:45:10
    23-nov-2016 14:18:56
    23-nov-2016 14:14:26
    04-nov-2016 07:04:53
    09-nov-2016 00:34:09
    31-okt-2016 20:11:01
    24-nov-2016 15:08:59
    29-nov-2016 10:53:59
    27-nov-2016 15:37:42
    04-dec-2016 20:28:42
    04-nov-2016 20:30:56
    09-nov-2016 09:32:41
    17-nov-2016 14:40:30
    11-nov-2016 18:33:02
    01-dec-2016 15:13:07
    29-nov-2016 13:59:49
    04-dec-2016 09:52:49
    29-nov-2016 11:40:16
    16-nov-2016 09:47:43

    I want to count all rows with are before dec 2016 (dec not included)
    In this case only 20. I need the year and the month in my formule because of the future
    I Know I've to use the count function.
    How can I fix this.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: problem counting rows in a Month

    Try this...

    Enter 12/1/2016 in cell C1, then:

    =COUNTIF(A:A,"<"&C1)

    You may have to replace the comma with a semi-colon.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    12-16-2016
    Location
    Bergen op Zoom
    MS-Off Ver
    2013
    Posts
    7

    Re: problem counting rows in a Month

    Quote Originally Posted by Tony Valko View Post
    Try this...

    Enter 12/1/2016 in cell C1, then:

    =COUNTIF(A:A,"<"&C1)

    You may have to replace the comma with a semi-colon.
    tnx for your help.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: problem counting rows in a Month

    You're welcome!

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

    Re: problem counting rows in a Month

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread 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.

+ 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. Counting rows with active sheet problem
    By Rob K in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-27-2015, 12:08 PM
  2. [SOLVED] Counting & summing formula (until last month,this month,until this month..
    By Jhon Mustofa in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-12-2014, 01:14 PM
  3. Replies: 2
    Last Post: 07-06-2012, 02:38 PM
  4. [SOLVED] Excel 2007 : Counting date in specific month by month
    By adisakman in forum Excel General
    Replies: 8
    Last Post: 06-14-2012, 06:30 AM
  5. Counting Rows based on Month & Year
    By ExcellantA in forum Excel General
    Replies: 2
    Last Post: 10-03-2007, 08:22 AM
  6. [SOLVED] Counting Rows by Month
    By rgoubet@yahoo.fr in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 11-28-2005, 10:10 AM
  7. Autofilter/xlVisible problem when counting rows
    By johli in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-27-2005, 04:24 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