limiting number of characters in a cell

J

jack du lin

I am trying to create a mailing list sorted by zip codes. The file I am
working with has zip codes in the "plus 4" format and I need to limit the
zip codes in a column to just the basic 5 zip code numbers. For example, I
need to limit zip code 123456789 to just number 12345. Any help would be
appreciated.
 
N

Norman Jones

Hi Jack,

Try:

Data | Validation | Settings tab | Allow: Text length | Equal to: 5
Error Alert tab | Add a suitable error message
 
D

David McRitchie

Hopefully your zip codes are all text. Simply make another
column for sorting purposes (a helper column).
=LEFT(G2,5)
 

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