+ Reply to Thread
Results 1 to 3 of 3

count/find with 2 criterias

  1. #1
    Registered User
    Join Date
    07-22-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    38

    Question count/find with 2 criterias

    Hi guys,

    thanks for any response in advance..
    This is probably really easy, but i cant work it out.

    I want to match 2 cells in 1 row and give an "x" or number or highlight in a 3rd cells
    Example:

    in col C tell me if both criteria matches
    Col C = [ if Col A = X ] & [ Col B = 2 ]
    excel.xlsx
    i've added a workbook. Hope this makes sense,

    Thanks for any assistance.
    =)
    Last edited by ngocpdn; 02-15-2012 at 07:23 PM. Reason: typo

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: count/find with 2 criterias

    Hi Ngocpdn, try this function, which works in Excel 2007+

    =COUNTIFS(A:A,"x",B:B,2)

    That will give you a total of how many rows have both an "x" in column A and a 2 in column B. If you want to just check each row for those criteria, then (assuming your data starts in row 2), in C2 use:

    =AND(A2="x",B2=2)

    Fill that down as many rows as needed. This will return TRUE (if both conditions are met) or FALSE (if either condition fails).
    Last edited by Paul; 02-15-2012 at 07:24 PM.

  3. #3
    Registered User
    Join Date
    07-22-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: count/find with 2 criterias

    Resolved

    Thanks so much , keep on rocking !
    Paul.
    =D

+ 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