Are the states always listed as a two-letter abbreviation?
If so, then you can simply use this formula (there's no need for VBA):
[tab][COLOR=blue white]=left(A1,len(A1)-2)&", "&right(A1,2)[/color]
But it would be much, much better design to have city and state separated into two different fields in your database. To accomplish this, use these two formulas:
[tab][COLOR=blue white]=left(A1,len(A1)-2)[/color]
and
[tab][COLOR=blue white]=right(A1,2)[/color]
[tt]_____
[blue]-John[/blue][/tt]
[tab][red]The plural of anecdote is not data[/red]
Help us help you. Please read FAQ181-2886 before posting.