+ Reply to Thread
Results 1 to 4 of 4

Counting month and year from a date column

  1. #1
    Registered User
    Join Date
    12-15-2008
    Location
    Romford
    Posts
    8

    Counting month and year from a date column

    Hi,

    Can someone suggest a formula for counting the number of occurences of a month & year in a date column?

    The spreadsheet is looking at items raised in any given month e.g. all items raised in Dec-08.

    Many thanks,
    Last edited by RamboDanbo; 12-15-2008 at 04:31 PM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Try

    =SUMPRODUCT(--(TEXT(A1:A100,"mmm-yy")="Dec-08"))

  3. #3
    Registered User
    Join Date
    12-15-2008
    Location
    Romford
    Posts
    8
    perfect! many thanks for that!

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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