How to use multiple If statements across many variants (Array)??

Copper Contributor

I have a list of all of the towns that make up my state and each town correlates to a specific council/region. 

I have been trying to work out how to write a formulate that links the town to its correct council. 

 

For example, If I type in a town name ie Aireys Inlet in one cell I would like the next cell to automatically generate the applicable council name ie Geelong.  

 

I haven't been able to find a way to do this as I have about 74 councils and some councils have upto 60 towns. 

 

Any help on this would be GREATLY appreciated! 

Fingers Crossed! 

 

1 Reply

@smoss26 Well, I you have a list somewhere with all the councils and towns, it's no more than using one of several lookup functions to find the council that belongs to the town selected.

 

Look into VLOOKUP, INDEX combined with MATCH or XLOOKUP. It depends on the Excel version you work with.