Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Count based on criteria
I have a row for which I need to count last names to have a total for each
last name. Does anyone have any suggestions? Thanks for your help! |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Count based on criteria
=SUM(IF(LEN(A1:A10)-LEN(SUBSTITUTE(A1:A10,"
",""))0,IF(MID(A1:A10,FIND("~",SUBSTITUTE(A1:A10, " ","~",LEN(A1:A10)-LEN(SUBSTITUTE(A1:A10," ",""))))+1,99)="Phillips",1,0))) which is an array formula, it should be committed with Ctrl-Shift-Enter, not just Enter. Excel will automatically enclose the formula in braces (curly brackets), do not try to do this manually. When editing the formula, it must again be array-entered. -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "ba374" wrote in message ... I have a row for which I need to count last names to have a total for each last name. Does anyone have any suggestions? Thanks for your help! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Count based on criteria from two different columns | Excel Discussion (Misc queries) | |||
Count based on multiple criteria | Excel Worksheet Functions | |||
Need to count based on different criteria in two columns | Excel Worksheet Functions | |||
Count distinct based on criteria | Excel Worksheet Functions | |||
Count or Sum based on more than 1 criteria | Excel Worksheet Functions |