hello my name is skylar and i am trying to use the following formula in a cell. it is comparing height vs weight standards of individuals.
=IF(E2=N2,F2-O2,IF(E2=N3,F2-O3,IF(E2=N4,F2-O4,IF(E2=N5,F2-O5,IF(E2=N6,F2-O6,IF(E2=N7,F2-O7,IF(E2=N8,F2-O8,IF(E2=N9,F2-O9,IF(E2=N10,F2-O10,IF(E2=N11,F2-O11,IF(E2=N12,F2-O12,IF(E2=N13,F2-O13,IF(E2=N14,F2-O14,IF(E2=N15,F2-O15,IF(E2=N16,F2-O16,IF(E2=N17,F2-O17,IF(E2=N18,F2-O18,IF(E2=N19,F2-O19,IF(E2=N20,F2-O20,IF(E2=N21,F2-O21,IF(E2=N22,F2-O22,IF(E2=N23,F2-O23,IF(E2=N24,F2-O24,IF(E2=N25,F2-O25,IF(E2=N26,F2-O26,IF(E2=N27,F2-O27,IF(E2=N28,F2-O28,IF(E2=N29,F2-O29,IF(E2=N30,F2-O30,IF(E2=N31,F2-O31,IF(E2=N32,F2-O32,IF(E2=N33,F2-O33,IF(E2=N34,F2-O34,IF(E2=N35,F2-O35))))))))))))))))))))))))))))))))))
that is the formula, by all means it should workm but after the 8th if in the formula it tells me there is an error and will not let me put it in the cell. is there a maximum amount of IF's u can have in one cell? i really need help with this. it is highly important for this to work
thank you
=IF(E2=N2,F2-O2,IF(E2=N3,F2-O3,IF(E2=N4,F2-O4,IF(E2=N5,F2-O5,IF(E2=N6,F2-O6,IF(E2=N7,F2-O7,IF(E2=N8,F2-O8,IF(E2=N9,F2-O9,IF(E2=N10,F2-O10,IF(E2=N11,F2-O11,IF(E2=N12,F2-O12,IF(E2=N13,F2-O13,IF(E2=N14,F2-O14,IF(E2=N15,F2-O15,IF(E2=N16,F2-O16,IF(E2=N17,F2-O17,IF(E2=N18,F2-O18,IF(E2=N19,F2-O19,IF(E2=N20,F2-O20,IF(E2=N21,F2-O21,IF(E2=N22,F2-O22,IF(E2=N23,F2-O23,IF(E2=N24,F2-O24,IF(E2=N25,F2-O25,IF(E2=N26,F2-O26,IF(E2=N27,F2-O27,IF(E2=N28,F2-O28,IF(E2=N29,F2-O29,IF(E2=N30,F2-O30,IF(E2=N31,F2-O31,IF(E2=N32,F2-O32,IF(E2=N33,F2-O33,IF(E2=N34,F2-O34,IF(E2=N35,F2-O35))))))))))))))))))))))))))))))))))
that is the formula, by all means it should workm but after the 8th if in the formula it tells me there is an error and will not let me put it in the cell. is there a maximum amount of IF's u can have in one cell? i really need help with this. it is highly important for this to work
thank you