+ Reply to Thread
Results 1 to 2 of 2

COUNTIF formula

  1. #1
    Registered User
    Join Date
    12-14-2007
    Posts
    1

    Question COUNTIF formula

    Excel n00b needs formula help...

    I'm trying to set a formula that will count values...something like this;

    If any cell in g4:g439 = "location" & any cell h4:h439 = "team" then count as 1

    Certain locations have more than 1 team and some teams are in more than 1 location...so i need to count all the combinations independantly. When I try to put in more than 1 cell range I get an error. bleh...i give up!

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    =SUMPRODUCT(-(G4:G439="location),-(H4:H439="team"))

+ 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