Dear all,
how to shorten this formula?
=IF(OR(RIGHT(V2,1)="1",RIGHT(V2,2)="1N",RIGHT(V2,2)="AP",RIGHT(V2,2)="SH",RIGHT(V2,2)="MG"),1,2)
As you see, I am trying to put a value of 1 to any stock ID where the last 2 count from the right are any alphabets. There are many stock IDs with...