If I understand what you want:
=IF(INDIRECT("P7")-INDIRECT("P11")<1,"",INDIRECT("P7")-INDIRECT("P11")) or better
=if(INDEX(P:P,7)-INDEX(P:P,11)<1;"",INDEX(P:P,7)-INDEX(P:P,11)
Better because INDEX contrary to INDIRECT is non-volatile. Volatile functions may make Excel slow if you work with large models.
Last edited by xor; 04-15-2017 at 11:40 PM.
|