Hi,
I have 52 states and try to break into 5 regions. An Excel macro has been set up using Select Case approach and successful. But if I have 40k rows, it's going to be slow. So I've tried to use worksheet functions to set up formulas to make the process faster but not working:
=IF(A2={"AL","TN","KY","MO","AR","MS","LA","KS","OK","TX"},"4Z",IF(A2={"WA","OR"...
I tried OR function and it worked:
=OR(A2={"AL","TN","KY","MO","AR","MS","LA","KS","OK","TX"})
But it won't assign me the region code and only give me True and False.
Could you help me out there?
Thanks in advance.
I have 52 states and try to break into 5 regions. An Excel macro has been set up using Select Case approach and successful. But if I have 40k rows, it's going to be slow. So I've tried to use worksheet functions to set up formulas to make the process faster but not working:
=IF(A2={"AL","TN","KY","MO","AR","MS","LA","KS","OK","TX"},"4Z",IF(A2={"WA","OR"...
I tried OR function and it worked:
=OR(A2={"AL","TN","KY","MO","AR","MS","LA","KS","OK","TX"})
But it won't assign me the region code and only give me True and False.
Could you help me out there?
Thanks in advance.