Hi,
I have a coded value domain for a field called asset owner, from -1 to -7. Which function would I use to define each value with a string. Example, -1 = Private, -2 = Other, etc etc.
Thank you.
Solved! Go to Solution.
Hi @Ian_Muehlenhaus ,
That worked! Thank you. I knew there had to be a way, thank you so much for your helpful response. I also installed ArcGIS Insights for Desktop - I didn't know it existed...ha! In case anyone is looking for something similar, here is the formula I used to calculate my asset ownership field:
IF(OWNEDBY=-1,"Private",IF(OWNEDBY=-2,"Other",IF(OWNEDBY=1,"County",IF(OWNEDBY=-3,"HOA",IF(OWNEDBY=-4,"State",IF(OWNEDBY=-5,"Parks and Rec Dept",IF(OWNEDBY=-6,"City of St. Augustine",IF(OWNEDBY=-7,"Contractor"))))))))
Hi @Ian_Muehlenhaus ,
That worked! Thank you. I knew there had to be a way, thank you so much for your helpful response. I also installed ArcGIS Insights for Desktop - I didn't know it existed...ha! In case anyone is looking for something similar, here is the formula I used to calculate my asset ownership field:
IF(OWNEDBY=-1,"Private",IF(OWNEDBY=-2,"Other",IF(OWNEDBY=1,"County",IF(OWNEDBY=-3,"HOA",IF(OWNEDBY=-4,"State",IF(OWNEDBY=-5,"Parks and Rec Dept",IF(OWNEDBY=-6,"City of St. Augustine",IF(OWNEDBY=-7,"Contractor"))))))))
So happy it helped, @bsklaohfl! Woohoo!!!
Thanks for sharing the code you used.
Yes, the IF statement comes in very, very handy! 🙂 Once you use it once, there's no going back! 😉
Thank you for using ArcGIS Insights! All the best on your project!
Ian