the title says it all. looking for the "-" to let me know to take the right 5 or right 10 characters out of an address string for the zip code.
I think i could do it this way:
=IF(LEFT(RIGHT(K2,5),1)="-",RIGHT(K2,10),RIGHT(K2,5)
but thought there might be a simple function to interrogate a cell for a certain character, e.g. =ISIN(K2,"-")
thanks
brian
Bookmarks