def calc(field1, field2): if field1 == '0723': val = int(field2) + 2000 return val elif field1 == '0724': val = int(field2) + 3000 return val
calc( !KOMMUNE!, !GKR!)
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.