Hi all,
I'm having issues with the below-nested loop. (error getting this formula uses more levels of nesting)
this is matching like below
e.g: if the F4 value between 48 and 61 then 4000 need to print
=IF(AND(F4>=48,F4<61),4000,
IF(AND(F4>=61,F4<76),5000,
IF(AND(F4>=76,F4<91),6000,
IF(AND(F4>=91,F4<106),7000,
IF(AND(F4>=106,F4<121),8000,
IF(AND(F4>=121,F4<136),9000,
IF(AND(F4>=136,F4<151),10000,
IF(AND(F4>=151,F4<166),11000,
IF(AND(F4>=166,F4<181),12000,
IF(AND(F4>=181,F4<196),13000,
IF(AND(F4>=196,F4<211),14000,
IF(AND(F4>=211,F4<226),15000,
IF(AND(F4>=226,F4<241),16000,
IF(AND(F4>=241,F4<256),17000,
IF(AND(F4>=256,F4<271),18000,
IF(AND(F4>=271,F4<286),19000,
IF(AND(F4>=286,F4<301),20000,
IF(AND(F4>=301,F4<326),22000,
IF(AND(F4>=326,F4<351),24000,
IF(AND(F4>=351,F4<376),26000,
IF(AND(F4>=376,F4<401),28000,
IF(AND(F4>=401,F4<426),30000,
IF(AND(F4>=426,F4<451),32000,
IF(AND(F4>=451,F4<476),34000,
IF(AND(F4>=476,F4<501),36000,
IF(AND(F4>=501,F4<=525),38000,
"NO ADVANCE"))))))))))))))))))))))))))
Thanks.
I'm having issues with the below-nested loop. (error getting this formula uses more levels of nesting)
this is matching like below
e.g: if the F4 value between 48 and 61 then 4000 need to print
=IF(AND(F4>=48,F4<61),4000,
IF(AND(F4>=61,F4<76),5000,
IF(AND(F4>=76,F4<91),6000,
IF(AND(F4>=91,F4<106),7000,
IF(AND(F4>=106,F4<121),8000,
IF(AND(F4>=121,F4<136),9000,
IF(AND(F4>=136,F4<151),10000,
IF(AND(F4>=151,F4<166),11000,
IF(AND(F4>=166,F4<181),12000,
IF(AND(F4>=181,F4<196),13000,
IF(AND(F4>=196,F4<211),14000,
IF(AND(F4>=211,F4<226),15000,
IF(AND(F4>=226,F4<241),16000,
IF(AND(F4>=241,F4<256),17000,
IF(AND(F4>=256,F4<271),18000,
IF(AND(F4>=271,F4<286),19000,
IF(AND(F4>=286,F4<301),20000,
IF(AND(F4>=301,F4<326),22000,
IF(AND(F4>=326,F4<351),24000,
IF(AND(F4>=351,F4<376),26000,
IF(AND(F4>=376,F4<401),28000,
IF(AND(F4>=401,F4<426),30000,
IF(AND(F4>=426,F4<451),32000,
IF(AND(F4>=451,F4<476),34000,
IF(AND(F4>=476,F4<501),36000,
IF(AND(F4>=501,F4<=525),38000,
"NO ADVANCE"))))))))))))))))))))))))))
Thanks.