COUNTIF with nested String Extraction

T

tylerw

=COUNTIF($H$4:$H$65536,"BA-"RIGHT(O9,4)*)

The above is what I want to conceptually do but the syntax is no
correct. I need to COUNTIF based on "BA-[last four characters][wit
any character after that]. Every thing I try fails and I haven't bee
able to fin an answer to this on any website. Please help
 
D

Dave R.

sorry make that- had an extra * in there.

=+COUNTIF($H$4:$H$65536,"ba-"&RIGHT(O9,4)&"*")



Dan E said:
Tyler,

untested but try

"BA-" & RIGHT(O9,4) & "*"

Dan E


=COUNTIF($H$4:$H$65536,"BA-"RIGHT(O9,4)*)

The above is what I want to conceptually do but the syntax is not
correct. I need to COUNTIF based on "BA-[last four characters][with
any character after that]. Every thing I try fails and I haven't been
able to fin an answer to this on any website. Please help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top