Sort phone numbers by state. I have the list of area codes with states next to them (screen shot)

Transportvehicle

New Member
Joined
Dec 16, 2012
Messages
2
Hello!

I need help guys, I have the filters at the top but i dont know what to do next. I want to be able to click the filter above the state abbrev column, sort by for example FL (for FLORIDA) and have all of the phone numbers populate on the right that begin with the area code that belongs to that state. How do I do this, seems super complicated. Can someone help my with the code, Im a complete novice! THanks so much for ALLL the help.

Brian @ Vehicle Shipping & Auto Transport Quotes | Auto Shipping Specialists
cardozo.brian@gmail.com




Carrier PhoneArea CodeState/CityState Abbrev.State
2014220600 201NJ New Jersey (ne New Jersey incl. Bergen and Hudson counties) <est>NJNew Jersey
2025409879 202DC District of Columbia (all of Washington, DC) <est>DCDistrict of Columbia
2039378697 203CT Connecticut (sw Connecticut incl. Fairfield and New Haven counties) <est>CTConnecticut
2039378697 204MB Manitoba (all of Manitoba) <cst>MBManitoba
2154946050205AL Alabama (Birmingham and northern Alabama) <cst>ALAlabama
2177418423 206WA Washington (Seattle area) <pst>WAWashington
2177418423 207ME Maine (all of Maine) <est>MEMaine
2398347215 208ID Idaho (all of Idaho) <mst & pst>IDIdaho
2533323913 209CA California (Stockton and central California) <pst>CACalifornia
2676850165210TX Texas (San Antonio area) <cst>TXTexas
3017958231212NY New York (Manhattan area) <est>NYNew York
3143973175 213CA California (Downtown Los Angeles area only) <pst>CACalifornia
3202599185 214TX Texas (Dallas area, overlays with 469 and 972) <cst>TXTexas
3205589606 215PA Pennsylvania (Philadelphia only, overlays with 267) <est>PAPennsylvania
3205589606 216OH Ohio (Cleveland and ne Ohio) <est>OHOhio
3476282715 217IL Illinois (Springfield and central Illinois) <cst>ILIllinois
3476282715 218MN Minnesota (Duluth and northern Minnesota) <cst>MNMinnesota
3605139753219IN Indiana (South Bend and northern Indiana) <cst & est>INIndiana
3865279035 224IL Illinois (Extreme ne Illinois and northwest Chicago suburbs, overlays with 847) <cst>ILIllinois

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
You could just sort them by value a thru Z with the state column, then just scroll down to the state you like, and it will have all the phone numbers in line for you.
 
Upvote 0
You could just sort them by value a thru Z with the state column, then just scroll down to the state you like, and it will have all the phone numbers in line for you.


I dont understand, Im sorry. How would I do that? I want to figure out how I can sort by state and column A and all of the other columns sort to that state. Meaning those area codes are in that state. So the middle column that identifies the cities those area codes are located within that state. I put the state value in front of each of the desccriptions of those cities so when I do click NJ in the state colum those also are produced. However I cant figure out how to get the phone numbers to be sorted also! Im so stressed about this, anything you can do I would really appreciate it, Ill even send you the file. Please anything and thank you!
 
Upvote 0
Have you tried your hands at data sorting optionS??
Go to Data Tab>Sort option>Select column you want to sort (In your case it would be State column first) then sort A to Z then Click on Add Level add phone number column and sort smallest to largest

IF you want to sort area code wise also then first level should be state column, then Area code and then phone numbers
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,198
Members
449,072
Latest member
DW Draft

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top