Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
countif
I have first names listed is column "A" and last names listed in column "B".
I have a counif statement in column "C" giving me a total count of each name using last name. Example-countif(B2:B300,"jones"). I have run into a problem where people have the same last name and now I need to use the first name with the last name to get the count. How can I set up my counif statement to use the first and last name and then give me a count total. I tried countif(B2:B300,"jones")+ countif(a2:a300,"steve"). This did not work. Any help would be appreciated. Thanks, |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
countif
=sumproduct((a2:a22="bill")*(b2:b22="jones"))
-- Don Guillett Microsoft MVP Excel SalesAid Software "mikesteven" wrote in message ... I have first names listed is column "A" and last names listed in column "B". I have a counif statement in column "C" giving me a total count of each name using last name. Example-countif(B2:B300,"jones"). I have run into a problem where people have the same last name and now I need to use the first name with the last name to get the count. How can I set up my counif statement to use the first and last name and then give me a count total. I tried countif(B2:B300,"jones")+ countif(a2:a300,"steve"). This did not work. Any help would be appreciated. Thanks, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
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 ... | Excel Discussion (Misc queries) | |||
COUNTIF in one colum then COUNTIF in another...??? | Excel Worksheet Functions |