I can’t find a way (probably not possible) to return a value of “BLANK” instead of a zero.
Is there a way in this equation?
(IFNOTEMPTY(Purchased;MONTHS(Purchased;TODAY());0))/12
Thanks.
Maybe, use the results of this field, call it into another field and and Script it there with an if statement if it is zero, leave it blank?
All those zeros are distracting from seeing my data.
Thanks.
Instead of returning 0, just return nothing (""
). Additionally, I moved the divide by 12 calculation to the matching branch. Seems to be working for me.
IFNOTEMPTY(Purchased;MONTHS(Purchased;TODAY())/12;"")
That works nicely. I didn’t think of that “”.
Great that it works for you!
> I didn’t think of that “”.
And moving the division. Otherwise you would get a 0 anyway.
I didn’t see where the division needed to be at all, but it does make sense. That would have given me a headache. I had to go for MONTHS instead of YEARS to avoid the integer and get a partial part of the year. Worked great.