COUNTIF for presence of string in parenthesis while excluding non-parenthetical presence

VinceInVA

New Member
Joined
Apr 12, 2013
Messages
6
Humble gratitude is offered to overlook my ignorance here.
I want to COUNT for the the presence of the "RA" in the parenthesis while not including the ra in Sarah's name.
The RA I want to count will always be Capitalized and in parenthesis.
EXAMPLE

Connor, John (8675309) Wilson (RA, FSET, HBBQ)
Connor, Sarah (123456) Wilson (RA, FlET, FSFB)

<tbody>
</tbody>

Thank you,
Vince
 
=sumproduct(--isnumber(find("RA,",left(right(substitute(a1:a100,"(",rept(" ",255),2),255),254)&",")))
 
Upvote 0

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I am not worthy....(y)(y)(y)
You rock!

This seems to only increment on the presence of RA in the second set while disregarding any instance of ra within student name or teacher name.

You folks inspire me to learn!!!

Thank you,
Vince
 
Upvote 0

Forum statistics

Threads
1,216,099
Messages
6,128,820
Members
449,469
Latest member
Kingwi11y

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top