Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
COUNTIF using exclusions
I have a column containing part numbers. I want to count the number of times
a part beginning with "RY..." occurrs. However, I wish to exclude the parts that end with "...GBMK". Could this be done easily with COUNTIF? Any suggestions? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
COUNTIF using exclusions
If your data is in B11:B14:
=SUMPRODUCT(--(LEFT(B11:B14,2)="ry"),--(RIGHT(B11:B14,4)<"gbmk")) Modify your range as necessary. Sumproduct cannot accept entire columns such as A:A or A1:A65536, but A1:65535 is okay. "djDaemon" wrote: I have a column containing part numbers. I want to count the number of times a part beginning with "RY..." occurrs. However, I wish to exclude the parts that end with "...GBMK". Could this be done easily with COUNTIF? Any suggestions? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
COUNTIF using exclusions | Excel Worksheet Functions | |||
Countif Formula /Sort Bug??? | Excel Discussion (Misc queries) | |||
COUNTIF or not to COUNTIF on a range in another sheet | Excel Worksheet Functions | |||
Combining IF and COUNTIF based on two columns | Excel Discussion (Misc queries) | |||
Countif - Countif | Excel Worksheet Functions |