+ Reply to Thread
Results 1 to 4 of 4

Count number of days of the month entered in a column

  1. #1
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    Count number of days of the month entered in a column

    Hello,

    I am looking to count the number of times a day of the month (any month) appears in a column.

    I was playing with the following, but it didn't work.

    =SUMPRODUCT(($A$6:$A$99985<>"")*(TEXT($A$6:$A$99985,"dd")=$B1))

    I have a sample attached, with expected results.

    I appreciate any help on this.

    Thank you,
    Nick
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,739

    Re: Count number of days of the month entered in a column

    You can use this formula in cell B2:

    =SUMPRODUCT(($A$6:$A$99985<>"")*(DAY($A$6:$A$99985)=B$1))

    then copy across.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    Re: Count number of days of the month entered in a column

    Thanks Pete! I was close lol. I appreciate your help.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,739

    Re: Count number of days of the month entered in a column

    You're welcome, Nick - thanks for the rep.

    Pete

+ 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. Replies: 16
    Last Post: 08-22-2017, 11:20 AM
  2. Replies: 3
    Last Post: 07-14-2015, 12:26 PM
  3. [SOLVED] Count number of days month selected
    By Spherous in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-26-2015, 12:42 AM
  4. Replies: 16
    Last Post: 09-06-2010, 05:11 PM
  5. Count the number of days that fall within a particular month.
    By Portuga in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-30-2008, 04:26 PM
  6. [SOLVED] Count number of days in given month?
    By Bryan in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-02-2005, 08:06 PM

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