+ Reply to Thread
Results 1 to 8 of 8

Countif for Date Counts with Weeknumber and specific month

  1. #1
    Registered User
    Join Date
    08-25-2015
    Location
    Kolkata, India
    MS-Off Ver
    2013
    Posts
    59

    Countif for Date Counts with Weeknumber and specific month

    I have an excel sheet where I want to count dates appearing in a particular month and a particular week of that month. I have to use Countifs formula. Sample sheet attached. Please assist. For example, in September, 2019, I have count of dates 16 but the count of dates in September's 37th week is 7. I want the result to be 7 through countif(s)
    Attached Files Attached Files
    Last edited by nadimqaisar; 09-13-2019 at 10:11 AM. Reason: Further details

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Countif for Date Counts with Weeknumber and specific month

    It's not clear what the expected results are.

    I recommend including some of the desired results manually then re-uploading your sample.

  3. #3
    Registered User
    Join Date
    08-25-2015
    Location
    Kolkata, India
    MS-Off Ver
    2013
    Posts
    59

    Re: Countif for Date Counts with Weeknumber and specific month

    Thank you so much for your quick reply. I have edited my thread along with new attachment.

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Countif for Date Counts with Weeknumber and specific month

    Put this in B2:
    =WEEKNUM(A2)
    Drag the formula down column B

    Then you can use this:
    =COUNTIFS(A:A,">="&DATE(2019,9,1),A:A,"<"&DATE(2019,10,1),B:B,37)

    See attachment.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-25-2015
    Location
    Kolkata, India
    MS-Off Ver
    2013
    Posts
    59

    Re: Countif for Date Counts with Weeknumber and specific month

    Thanks a lot. I have the limitation that I cannot add any additional column in the sheet. What I can do that I can copy that entire sheet in a new workbook and then apply the formula you have provided. Is there any specific formula by which I can copy an entire sheet from one workbook and paste the same in another workbook.

  6. #6
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Countif for Date Counts with Weeknumber and specific month

    Maybe just right-click on the Date & Result worksheet > Move or Copy > check the "Create a copy" box and tell it where to go > OK

    Or just copy/paste into a new workbook.

  7. #7
    Registered User
    Join Date
    08-25-2015
    Location
    Kolkata, India
    MS-Off Ver
    2013
    Posts
    59

    Re: Countif for Date Counts with Weeknumber and specific month

    Thank you so much. That's really a great help

  8. #8
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Countif for Date Counts with Weeknumber and specific month

    You're welcome. Happy to help.

+ 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: 7
    Last Post: 06-16-2017, 09:23 AM
  2. =sumproduct that counts all instances of a specific month
    By nils_sverker in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 03-28-2017, 06:14 AM
  3. [SOLVED] CountIf Date Equals Specific "Month" Across Multiple Columns
    By molson1973 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-31-2014, 01:12 PM
  4. [SOLVED] Return month for weeknumber
    By Hawken in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-25-2013, 06:19 AM
  5. Replies: 1
    Last Post: 04-05-2012, 07:55 PM
  6. Excel counts withing specific date ranges (star signs)
    By beeso74 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-03-2012, 06:23 AM
  7. countif a value is in a specific month and gender
    By dcr5595 in forum Excel General
    Replies: 3
    Last Post: 08-15-2010, 02:39 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