Dear Excel Connoisseurs,
My apologies if this has already been asked, but I have an IF function that look like this:
=
IF(MOD(96*0+C4,B4)=0,(96*0+C4)/B4+1,
IF(MOD(96*1+C4,B4)=0,(96*1+C4)/B4+1,
IF(MOD(96*2+C4,B4)=0,(96*2+C4)/B4+1,
IF(MOD(96*3+C4,B4)=0,(96*3+C4)/B4+1,
IF(MOD(96*4+C4,B4)=0,(96*4+C4)/B4+1,
IF(MOD(96*5+C4,B4)=0,(96*5+C4)/B4+1,
IF(MOD(96*6+C4,B4)=0,(96*6+C4)/B4+1,
IF(MOD(96*7+C4,B4)=0,(96*7+C4)/B4+1,
IF(MOD(96*8+C4,B4)=0,(96*8+C4)/B4+1,
IF(MOD(96*9+C4,B4)=0,(96*9+C4)/B4+1,
IF(MOD(96*10+C4,B4)=0,(96*10+C4)/B4+1,
0)))))))))))
I want the value that 96 is being multiplied by to keep increasing by one indefinitely, both in the Logical Test part of the function and the If True part.
Can the function be simplified to utitilize infinity symbols or ranges?
My thanks in advance.
Bookmarks