No, that doesn't work.If I understand correctly, no INDIRECT needed, just use absolute references
=IF($S$8<>0,0,IF($S$8=0,100%,$GA8/ABS($S$8)))
Do you mean something like this:
Code:=IF(INDIRECT("S8")<>0,(IF(INDIRECT("S8")=0,100%,INDIRECT("GA8")/ABS(INDIRECT("S8")))),0)
=IF(INDIRECT("S" & ROW())<>0,(IF(INDIRECT("S" & ROW())=0,100%,INDIRECT("GA" & ROW())/ABS(INDIRECT("S" & ROW())))),0)
Do you mean something like this:
Code:=IF(INDIRECT("S8")<>0,(IF(INDIRECT("S8")=0,100%,INDIRECT("GA8")/ABS(INDIRECT("S8")))),0)