trying to populate 1 Attribute with values from 1 of 3 Attributes dependent on a value in a 5th Attribute. Formula is not working out. Appreciate any help.
def !COUNT_FINA! ( !FLAG! 😞
if (!FLAG!== ''O'):
return !LOC_F_OIL!
elif (!FLAG!== 'G'):
return !LOC_F_GAS!
elif (!FLAG!=='B'):
return !LOC_F_BOTH!