Quite often i'll do an IF statement saying if X = 0, then 0 otherwise X
Sometimes if X is a hefty formula it can make the it quite messy inside the formula given that it's basically just duplicating the formula for X.
Example
This is my formula for X
If the above is 0 then i just want it to display nothing. Is there a better way than having my formula as
I know i could do it in formatting but i'd rather do it formula based. Obviously if the above is the only way to do it then so be it.
Sometimes if X is a hefty formula it can make the it quite messy inside the formula given that it's basically just duplicating the formula for X.
Example
This is my formula for X
=INDEX('OC-BS'!$A$1:$AC$141,MATCH('4-BS'!$B35,'OC-BS'!$A:$A,0),MATCH('4-BS'!I$29,'OC-BS'!$4:$4,0))/INDEX('OC-ISbyMonth'!$A$1:$Y$67,MATCH("12 Months Sales",'OC-ISbyMonth'!$A$1:$A$67,0),MATCH('4-BS'!I29,'OC-ISbyMonth'!$A$3:$Y$3,0))*365
If the above is 0 then i just want it to display nothing. Is there a better way than having my formula as
=IF(INDEX('OC-BS'!$A$1:$AC$141,MATCH('4-BS'!$B35,'OC-BS'!$A:$A,0),MATCH('4-BS'!I$29,'OC-BS'!$4:$4,0))/INDEX('OC-ISbyMonth'!$A$1:$Y$67,MATCH("12 Months Sales",'OC-ISbyMonth'!$A$1:$A$67,0),MATCH('4-BS'!I29,'OC-ISbyMonth'!$A$3:$Y$3,0))*365=0,"",INDEX('OC-BS'!$A$1:$AC$141,MATCH('4-BS'!$B35,'OC-BS'!$A:$A,0),MATCH('4-BS'!I$29,'OC-BS'!$4:$4,0))/INDEX('OC-ISbyMonth'!$A$1:$Y$67,MATCH("12 Months Sales",'OC-ISbyMonth'!$A$1:$A$67,0),MATCH('4-BS'!I29,'OC-ISbyMonth'!$A$3:$Y$3,0))*365)
I know i could do it in formatting but i'd rather do it formula based. Obviously if the above is the only way to do it then so be it.