AnsweredAssumed Answered

Calculating field values only for appropriate features using ArcMap

Question asked by ImHappy94 on Feb 1, 2020
Latest reply on Feb 3, 2020 by bixb0012

Just like in the attached picture. I would like to calculate the value for the field "indeks_star" with the formula: indeks_star =[TOT_65__] / [TOT_0_14] * 100

And for features where in the field TOT_0_14 occurs 0 or in [TOT_65__] occurs 0, I would like the value -9999 to appear in the field indeks_star.

What formula to enter in the field calculator to simultaneously calculate all values for the field indeks_star?