Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT(--(A1:A100&B1:B100="xy"))
Caveat about using a formula like that: x.....y b....o .......xy c....y The above formula would return 2. If your data may present this situation and you want to use a formula like that concatenate a unique character that will not appear in your data: =SUMPRODUCT(--(A1:A100&"~"&B1:B100="x~y")) -- Biff Microsoft Excel MVP "Teethless mama" wrote in message ... All versions Excel: =SUMPRODUCT(--(A1:A100&B1:B100="xy")) Excel 2007 only: =COUNTIFS(A:A,"x",B:B,"y") "Help with Countif(and" wrote: I'm trying count how many times the value from one cell equals those cells in a defined range and another cells equals the values in another defined range. So I want to count the number of occurences where the a cell in column A="X" and the cell in column B in the same row = "Y". |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
COUNTIF | Excel Discussion (Misc queries) | |||
How do I use a countif function according to two other countif fu. | Excel Worksheet Functions | |||
edit this =COUNTIF(A1:F16,"*1-2*")+COUNTIF(A1:F16,"*2-1*") | Excel Discussion (Misc queries) | |||
COUNTIF or not to COUNTIF on a range in another sheet | Excel Worksheet Functions | |||
COUNTIF in one colum then COUNTIF in another...??? | Excel Worksheet Functions |