+ Reply to Thread
Results 1 to 7 of 7

COUNTIFS to recognize MONTH in a cell

  1. #1
    Registered User
    Join Date
    12-03-2014
    Location
    Littleton, CO
    MS-Off Ver
    2007
    Posts
    4

    COUNTIFS to recognize MONTH in a cell

    Column B contains dates formatted mm/dd/yyyy.
    =MONTH(B5) returns the correct value.
    Why doesn't =COUNTIFS(B17:B328,"MONTH=11") work?
    The goal is to count each cell that contains a particular cell.

    Thanks!

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: COUNTIFS to recognize MONTH in a cell

    =SUMPRODUCT((MONTH(b17:b328)=MONTH(b5))*1)
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: COUNTIFS to recognize MONTH in a cell

    Countif function works.. to count.. how many cell instance have the word found..

    Capture.JPG

    iNSTEAD TRY..

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  4. #4
    Registered User
    Join Date
    12-03-2014
    Location
    Littleton, CO
    MS-Off Ver
    2007
    Posts
    4

    Re: COUNTIFS to recognize MONTH in a cell

    Didn't work.

    #VALUE!

  5. #5
    Registered User
    Join Date
    12-03-2014
    Location
    Littleton, CO
    MS-Off Ver
    2007
    Posts
    4

    Re: COUNTIFS to recognize MONTH in a cell

    =SUMPRODUCT(--(MONTH(B17:B328)=11))

    Didn't work.

    #VALUE!

  6. #6
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: COUNTIFS to recognize MONTH in a cell

    There must be some data.. which are TEXT..
    please upload a sample file..

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  7. #7
    Registered User
    Join Date
    12-03-2014
    Location
    Littleton, CO
    MS-Off Ver
    2007
    Posts
    4

    Re: COUNTIFS to recognize MONTH in a cell

    This works: =SUMPRODUCT((MONTH(B17:B328)=H56)*1)
    Just have to have the month value in the cell it equals.

+ 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. Need to convert Month/Date/Year to Year/Month/Date so excel will recognize
    By juliettelam in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2014, 04:17 PM
  2. Countifs by date in month?
    By whizbee in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-21-2013, 01:03 PM
  3. COUNTIFS filtered by month
    By HeathWilD in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-15-2012, 05:06 PM
  4. Month Criteria in Countifs ????
    By mubashir aziz in forum Excel General
    Replies: 4
    Last Post: 02-26-2010, 05:38 AM
  5. Make excel formula recognize month and current year
    By Captain Carrot in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-23-2009, 12:13 PM

Tags for this Thread

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