I have an "If And" formula (see below) that has six statements. When i try and increase this to 8 it doesn't work...i read somewhere that this was limited to 7 statements...but can't find that now.
=IF(AND(I6="y",J6<=2),27,IF(AND(I6="n",J6<=2),25,IF(AND(I6="Y",J6>=3,J6<=5),29,IF(AND(I6="N",J6>=3,J6<=5),27,IF(AND(I6="Y",J6>=6),33,IF(AND(I6="N",J6>=6),31))))))
Is this possible to do this in VBA? if so can someone point me in the right direction
=IF(AND(I6="y",J6<=2),27,IF(AND(I6="n",J6<=2),25,IF(AND(I6="Y",J6>=3,J6<=5),29,IF(AND(I6="N",J6>=3,J6<=5),27,IF(AND(I6="Y",J6>=6),33,IF(AND(I6="N",J6>=6),31))))))
Is this possible to do this in VBA? if so can someone point me in the right direction