=(If(ISERROR((If($K65<=23,VLOOKUP($M65,Detail!$O$5:$X$26,2,0),If($K65<=35,VLOOKUP($M65,Detail!$O$5:$X$26,3,0),If($K65<=47,VLOOKUP($M65,Detail!$O$5:$X$26,4,0),If($K65<=59,VLOOKUP($M65,Detail!$O$5:$X$26,5,0),If($K65<=71,VLOOKUP($M65,Detail!$O$5:$X$26,6,0),If($K65<=82,VLOOKUP($M65,Detail!$O$5:$X$26,7,0),If($K65<=94,VLOOKUP($M65,Detail!$O$5:$X$26,8,0),If($K65<=106,VLOOKUP($M65,Detail!$O$5:$X$26,9,0),If($K65<=118,VLOOKUP($M65,Detail!$O$5:$X$26,10,0)))))))))))))),0,(If($K65<=23,VLOOKUP($M65,Detail!$O$5:$X$26,2,0),If($K65<=35,VLOOKUP($M65,Detail!$O$5:$X$26,3,0),If($K65<=47,VLOOKUP($M65,Detail!$O$5:$X$26,4,0),If($K65<=59,VLOOKUP($M65,Detail!$O$5:$X$26,5,0),If($K65<=71,VLOOKUP($M65,Detail!$O$5:$X$26,6,0),If($K65<=82,VLOOKUP($M65,Detail!$O$5:$X$26,7,0,If($K65<=94,VLOOKUP($M65,Detail!$O$5:$X$26,8,0),If($K65<=106,VLOOKUP($M65,Detail!$O$5:$X$26,9,0),If($K65<=118,VLOOKUP($M65,Detail!$O$5:$X$26,10,0))))))))))))
=IF(ISERROR(VLOOKUP($M65,Detail!$O$5:$X$26,MIN(10,(MAX(2,2+CEILING(MAX(0,(K65+(K65>82)-23))/12,1)))),0)),0,VLOOKUP($M65,Detail!$O$5:$X$26,MIN(10,(MAX(2,2+CEILING(MAX(0,(K65+(K65>82)-23))/12,1)))),0))
The problem is that I am having difficulty understanding in layman's terms what the formula actually means and although its working perfectly, I am not confident with it and I really need to know the workings behind it. Unfortunately the person who assisted me with this so far is not available at the moment, so I'm throwing it out to you guys to see if anyone can shed any light on it. I would be so so grateful if someone could guide me on it.
Bookmarks