+ Reply to Thread
Results 1 to 3 of 3

How to count cells that meet two criteria. Please Help!

  1. #1
    Registered User
    Join Date
    06-18-2013
    Location
    Regina, Sasaktchewan
    MS-Off Ver
    Excel 2010
    Posts
    2

    How to count cells that meet two criteria. Please Help!

    Hello,

    I'm having some issues trying to count some cells with multiple criteria.

    I've got two sheets, one named Contract Manager and the other named Target Manager.

    What I'm trying to do is count how many contracts in column C of the Target manager equals a specific contract on the contract manager page that's expiry date in column O of the target manager are later than or equal to today.

    This is what I've got worked out so far but it only brings back a 0 which I know is wrong.

    =SUMPRODUCT(--('Target Manager'!$C$4:$C$124="B4"),--('Target Manager'!$O$4:$O$124>="TODAY()"))

    Any help would be greatly appreciated.

    Thanks

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: How to count cells that meet two criteria. Please Help!

    Do away with the " " for cell references and formulas, else Excel reads them as text

    Hence
    =SUMPRODUCT(--('Target Manager'!$C$4:$C$124=B4),--('Target Manager'!$O$4:$O$124>=TODAY()))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    06-18-2013
    Location
    Regina, Sasaktchewan
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: How to count cells that meet two criteria. Please Help!

    Fantastic, sometimes its just that simple.

    Thank you for the quick response!

+ 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