Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Countif
Hi,
I want to be able to count say "dog" if listed in one column if a "tick" or yes/no value is entered into a second column in the same row position. i.e. if the customer is "a" and we met delivery, so "yes" on the same line, count 1. Thanks, Sean. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Countif
One way:
=SUMPRODUCT(--(A1:A1000="a"),--(B1:B1000="yes")) See http://www.mcgimpsey.com/excel/doubleneg.html for an explanation of how it works. In article , SeanHooke wrote: Hi, I want to be able to count say "dog" if listed in one column if a "tick" or yes/no value is entered into a second column in the same row position. i.e. if the customer is "a" and we met delivery, so "yes" on the same line, count 1. Thanks, Sean. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Countif
=SUMPRODUCT(--(A2:A100="dog"),--(B2:B100="yes"))
Replace the hardcoded values with cells where you put the criteria Regards, Peo Sjoblom "SeanHooke" wrote in message ... Hi, I want to be able to count say "dog" if listed in one column if a "tick" or yes/no value is entered into a second column in the same row position. i.e. if the customer is "a" and we met delivery, so "yes" on the same line, count 1. Thanks, Sean. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
COUNTIF | Excel Worksheet Functions | |||
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 |