+ Reply to Thread
Results 1 to 4 of 4

COUNTIFS function where argument is <= a date

  1. #1
    Registered User
    Join Date
    09-20-2012
    Location
    Karratha, western Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    COUNTIFS function where argument is <= a date

    Hello

    I have a COUNTIFS function working on a spreadsheet which counts if 1. Column has a certain Team recorded and then 2. Another column = a certain date
    =COUNTIFS(Master!$D$4:$D$9828,$E$4,Master!$K$4:$K$9828,B7)

    I now want to replicate this for project to date and so want the B7 to be <= B7 but I can't seem to get it to count project to date.
    =COUNTIFS(Master!$D$4:$D$9828,$E$4,Master!$K$4:$K$9828,"<=B7")

    The cell B7 is a date but is recorded as =A5-6 with cell A5 being a week ending date selected from a drop down menu.

    I hope this makes enough sense for someone to assist.
    Thank You
    Mary
    Last edited by Marycub; 09-21-2012 at 12:45 AM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: COUNTIFS function where argument is <= a date

    hi Mary, welcome to the forum. to refer to a cell reference, you need to do this:
    =COUNTIFS(Master!$D$4:$D$9828,$E$4,Master!$K$4:$K$9828,"<="&B7)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    09-20-2012
    Location
    Karratha, western Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: COUNTIFS function where argument is <= a date

    Hi Benishiryo

    Thank you for responding so quickly - I copied and pasted your suggestion in and it is coming up advising of a formula error.

    Kind Regards
    Mary

  4. #4
    Registered User
    Join Date
    09-20-2012
    Location
    Karratha, western Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: COUNTIFS function where argument is <= a date

    Hi Benishiryo

    Apologies I had not copied correctly - It now works perfectly. Thank You so much I am wrapped.

    Kind Regards
    Mary

+ 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