BenQuackenbush
7 years agoQrew Trainee
Need help on whether to use IF or Case
I have a list of locations that i am trying to make a formula derived from a current field.
but naturally i have about 100 locations that then have corresponding regions , so i would have 3 statements with lists of locations. Basically trying to do a vlookup and use a temp table from a list ,
IF([location] = ("DFW","HOU","SAT"), Central) ,("DEN", "PHX","SEA"), West) , ("MIA", "TPA", "JAX"), East)
CASE([locaiton] = ("DFW","HOU","SAT"), Central) ,("DEN", "PHX","SEA"), West) , ("MIA", "TPA", "JAX"), East)
or should i just create a new table with master list and then try and link the two tables ?
but naturally i have about 100 locations that then have corresponding regions , so i would have 3 statements with lists of locations. Basically trying to do a vlookup and use a temp table from a list ,
IF([location] = ("DFW","HOU","SAT"), Central) ,("DEN", "PHX","SEA"), West) , ("MIA", "TPA", "JAX"), East)
CASE([locaiton] = ("DFW","HOU","SAT"), Central) ,("DEN", "PHX","SEA"), West) , ("MIA", "TPA", "JAX"), East)
or should i just create a new table with master list and then try and link the two tables ?