4 replies
by chitosunday
by bschaettle
You can use the MATCH function to create a sorting column.
[1] in your spreadsheet, create a new worksheet
[2] on the new worksheet, enter your 125 "special" ZIP codes in Column A.
[3] Create a named range:
[3.1] select Column A and click on Insert+Name+Define
[3.2] On the dialog box that pops up, type in SpecialZIPs, then click on OK.
[4] go back to the original worksheet
[5] in an empty cell in Row 1, enter this formula:
=MATCH(F1,SpecialZIPs)
>> this assumes that the ZIP code is in column "F"...adjust as needed.
[6] copy the formula down the entire column
Now you'll see that the cells in this column display either a number or "#N/A". If you sort on this column, the rows that have your 125 "special" ZIP codes will be at the top. To make other ZIP codes sort to the top, just change the ZIP code list you created on the new worksheet, and re-sort the data.
by swdrake1
Poster rated this answer.
by swdrake1
This discussion is closed to new replies.
Trending Software posts
Sort by Trending