There is a REF error in your formula
Please explain the logic in words. You can't expect us to decipher your formula to understand it.
Thanks
(BTW what do "L" and "crore" stand for?)