+ Reply to Thread
Results 1 to 2 of 2

Thread: Formula Help Find X between date range

  1. #1
    Registered User
    Join Date
    10-03-2011
    Location
    Richardson TX
    MS-Off Ver
    Excel 2003
    Posts
    1

    Formula Help Find X between date range

    I'm trying to "count" How many items are assigned to a person a month. So I need the formula to look at every thing in Column A (A:A) and pick out all the ones that say Amina, then I need it to look at Column B (B:B) and only count (say True) for the items that were assigned on and between February 1 and February 28.

    A B Desired Outcome
    Shaniqua 2/2/2011 FALSE
    Shaniqua 2/2/2011 FALSE
    Shaniqua 2/2/2011 FALSE
    Shaniqua 2/2/2011 FALSE
    Amina 2/3/2011 TRUE
    Amina 2/3/2011 TRUE
    Kim 2/3/2011 FALSE
    Kim 2/3/2011 FALSE
    Kim 2/3/2011 FALSE

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Formula Help Find X between date range

    If you are using Excel 2003, as indicated by your profile, you will need SUMPRODUCT and you can use whole column references.

    e.g.

    =Sumproduct(--(A1:A100="Amina"),--(B1:B100>=Date(2011,2,1)),--(B1:B100<=Date(2011,2,28)),--(C1:C100=TRUE))

    If you are using XL2007 or later, then you can use COUNTIFS and whole columnd.

    =Countifs(A:A,"Amina",B:B,">="&Date(2011,2,1),B:B,"<="&Date(2011,2,28),C:C,TRUE)
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0