+ Reply to Thread
Results 1 to 6 of 6

Countif for a No. of days in a month

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    Countif for a No. of days in a month

    Hello Friends

    Version : MS Excel 2010

    Please refer the attachment file <Countif for a No. of days in a month.xlsx>.

    I want to calculate the No. of Entries in the given month.

    In the attchment i want to populate the yellow cells by formulas.


    thanks in advance

    thilag.
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Countif for a No. of days in a month

    Too much work for you Today!

    In F3 and copy down.
    Formula: copy to clipboard

    =SUMPRODUCT((MONTH($B$3:$B$30)=MONTH(E3))*(YEAR($B$3:$B$30)=YEAR(E3)))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    Re: Countif for a No. of days in a month

    Hello Fotis1991

    thanks

    this will help me to count the no. of entries in the given months

    thilag.

  4. #4
    Forum Contributor
    Join Date
    11-12-2013
    Location
    Delhi
    MS-Off Ver
    Excel 2016
    Posts
    135

    Cool Re: Countif for a No. of days in a month

    Dear friend,
    you need to insert a column then put formula as per the attached sheet.

    thanks
    R
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    11-12-2013
    Location
    Delhi
    MS-Off Ver
    Excel 2016
    Posts
    135

    Re: Countif for a No. of days in a month

    @fortis

    if any cell in date column would blank then count would come 3 so that case wrong count would occur .........

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Countif for a No. of days in a month

    Quote Originally Posted by rishikrsaw View Post
    @fortis

    if any cell in date column would blank then count would come 3 so that case wrong count would occur .........
    Fotis. Not fortis

    ??

+ 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. Date Formula for days of the month, new dates starting on the 2nd of the month.
    By Kenn Jerger in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-04-2013, 01:31 AM
  2. Changing number of days in a month based on month chosen from a dropdown list.
    By st_judeu@yahoo.com in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-08-2013, 02:26 PM
  3. Show days in a month dynamically + working days
    By vemix in forum Excel General
    Replies: 5
    Last Post: 12-28-2012, 07:54 AM
  4. convert month days and years into days
    By bokals in forum Excel General
    Replies: 6
    Last Post: 11-20-2011, 02:09 PM
  5. How to count # of days in a month from a list of days
    By vinnygamz in forum Excel General
    Replies: 3
    Last Post: 07-20-2009, 05:02 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