=if(right(a1,4)="-051","something","something else")
This assumes that the hyphen is really in the cell--not just a number format
that displays it.
> Is it possible to use wildcards in formulas?
>
[quoted text clipped - 4 lines]
> Thanks
> rd

Signature
Dave Peterson
RD - 15 Mar 2006 21:30 GMT
Thanks Dave,
Gotta love newsgroups!
rd
> =if(right(a1,4)="-051","something","something else")
>
[quoted text clipped - 10 lines]
>> Thanks
>> rd