Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I've looked around, but can't find the answer. I have a list and want to count all the "Smith" last names. I also have Smithson and Smithton in my list, which returns a count of 3 instead of 1. How do I specify that I only want names that are exactly Smith? thanks! -- Thanks! Dee |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Why not use COUNTIF?
I just did a test with the following names in Column A (Smith, Smithson, Smithers and Smit in A1 to A4.) I used the following formula: =COUNTIF(A1:A4,"Smith") and the result was 1 as it should be. "dee" wrote: Hi, I've looked around, but can't find the answer. I have a list and want to count all the "Smith" last names. I also have Smithson and Smithton in my list, which returns a count of 3 instead of 1. How do I specify that I only want names that are exactly Smith? thanks! -- Thanks! Dee |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I actually just found the answer after searching on the Internet, as it also causes the same problem when using an advanced filter (which is what dfunctions use). I now know to put ="=smith" Thanks in any case! -- Thanks! Dee "tim m" wrote: Why not use COUNTIF? I just did a test with the following names in Column A (Smith, Smithson, Smithers and Smit in A1 to A4.) I used the following formula: =COUNTIF(A1:A4,"Smith") and the result was 1 as it should be. "dee" wrote: Hi, I've looked around, but can't find the answer. I have a list and want to count all the "Smith" last names. I also have Smithson and Smithton in my list, which returns a count of 3 instead of 1. How do I specify that I only want names that are exactly Smith? thanks! -- Thanks! Dee |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
vlookup based on random result returns incorrect result | Excel Worksheet Functions | |||
Median result used in formula gives incorrect result | Excel Worksheet Functions | |||
sumif formula returns incorrect value | Excel Worksheet Functions | |||
Using Min function with cells in a Row returns incorrect result. | New Users to Excel | |||
Vlookup returns incorrect match | Excel Discussion (Misc queries) |