Forum Discussion

atwinte2's avatar
atwinte2
Copper Contributor
May 15, 2020
Solved

Sorting Counties into Districts

Hello! I had a question regarding a function that would turn counties into district codes automatically. Georgia is divided into 18 public health districts and I want to be able to type a county into...
  • peteryac60's avatar
    peteryac60
    May 15, 2020

    atwinte2 

    Hi

     

    I attach an example which I hope is what you want!

    The formula is more complicate county list on the second sheet all have the word COUNTY after them. So I have had to remove it in order for the VLOOKUP to work. If you remove the COUNTY word yourself then you can remove the MID(FIND( formulas from the lookup.

     

    If this is what you want I would be grateful if you could mark this as a completed solution.

    thanks!

    Peter

     

Resources