I will try to describe everything the best I can. The following are in my excel:
X11: can be "Remove From Program" or any positive integer (in this case it is 22)
AC11: 1, 2, 3 or 4 (in this case it is 4)
Row of cells starting at AE3:
1 2 3 4 5
Table array starting with cell AD4 ('>20'):
>20 IS-4 IS-3 IS-2 IS-1 IS-1
17-20 IS-4 IS-4 IS-3 IS-2 IS-1
1-16 IS-4 IS-4 IS-4 IS-3 IS-2
Code in AJ11:
=IF(X11="Remove From Program","Remove From Program",IF(X11>20,VLOOKUP($AD$4, table,(AC11+1),FALSE)))
When X11 = "Remove from Program" it works fine! When X11 = any number it returns "#REF!". It is suppose to return "IS-1". The frustrating part is the EXACT same tables in other excel files work properly.
Any help would be much appreciated. Thanks in advance,
- Hogie
X11: can be "Remove From Program" or any positive integer (in this case it is 22)
AC11: 1, 2, 3 or 4 (in this case it is 4)
Row of cells starting at AE3:
1 2 3 4 5
Table array starting with cell AD4 ('>20'):
>20 IS-4 IS-3 IS-2 IS-1 IS-1
17-20 IS-4 IS-4 IS-3 IS-2 IS-1
1-16 IS-4 IS-4 IS-4 IS-3 IS-2
Code in AJ11:
=IF(X11="Remove From Program","Remove From Program",IF(X11>20,VLOOKUP($AD$4, table,(AC11+1),FALSE)))
When X11 = "Remove from Program" it works fine! When X11 = any number it returns "#REF!". It is suppose to return "IS-1". The frustrating part is the EXACT same tables in other excel files work properly.
Any help would be much appreciated. Thanks in advance,
- Hogie