I am working in Excel 2010
I need to create a new column based on a value in Column "C" based on the following classification system:
• urban: 1.0, 1.1, 2.0, 2.1, 3.0, 4.1, 5.1, 7.1, 8.1, 10.1
• large rural: 4.0, 4.2, 5.0, 5.2, 6.0, 6.1
• small rural: 7.0, 7.2, 7.3, 7.4, 8.0, 8.2, 8.3, 8.4, 9.0, 9.1, 9.2
• isolated: 10.0, 10.2, 10.3, 10.4, 10.5, 10.6
I was trying to avoid typing out all the values and tried to use an array value.
=IF(C2 = {1,1.1,2,2.1,3,4.1,5.1,7.1,8.1,10.1}, "URBAN",IF(C2 = {4,4.2,5,5.2,6,6.1}, "LARGE URBAN", IF(C2 = {7,7.2,7.3,7.4,8,8.2,8.3,8.4,9,9.1,9.2}, "SMALL RURAL", IF(C2 = {10,10.2,10.3,10.4,10.5,10.6}, "ISOLATED", "NO CATEGORY"))))
It works if the value in column C is the first value in any of the 4 arrays, otherwise defaults to NO CATEGORY.
Is something like this possible?
Thank you in advance.
You don't know what you don't know...
I need to create a new column based on a value in Column "C" based on the following classification system:
• urban: 1.0, 1.1, 2.0, 2.1, 3.0, 4.1, 5.1, 7.1, 8.1, 10.1
• large rural: 4.0, 4.2, 5.0, 5.2, 6.0, 6.1
• small rural: 7.0, 7.2, 7.3, 7.4, 8.0, 8.2, 8.3, 8.4, 9.0, 9.1, 9.2
• isolated: 10.0, 10.2, 10.3, 10.4, 10.5, 10.6
I was trying to avoid typing out all the values and tried to use an array value.
=IF(C2 = {1,1.1,2,2.1,3,4.1,5.1,7.1,8.1,10.1}, "URBAN",IF(C2 = {4,4.2,5,5.2,6,6.1}, "LARGE URBAN", IF(C2 = {7,7.2,7.3,7.4,8,8.2,8.3,8.4,9,9.1,9.2}, "SMALL RURAL", IF(C2 = {10,10.2,10.3,10.4,10.5,10.6}, "ISOLATED", "NO CATEGORY"))))
It works if the value in column C is the first value in any of the 4 arrays, otherwise defaults to NO CATEGORY.
Is something like this possible?
Thank you in advance.
You don't know what you don't know...