GregStarting at ArcGIS for Desktop 10.1, null values in an attribute table are returned as the string 'None' in the Field Calculator using Python. Knowing this, an if/elif statement can be used to find whether values are null or not. Here is an example that checks if a field contains null values: if !INVERT! <> 'None': !INVERT_ELEVATION! = !DEM_ELEVATION! - !INVERT! RegardsAnthony
if !INVERT! <> 'None': !INVERT_ELEVATION! = !DEM_ELEVATION! - !INVERT!
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.