I get a value of 23 when the cell is #REF!
Is there a way to work around this? for example, know that it's referencing an invalid/missing field? or even read it as #REF!?

thanks in advance!