I am trying to copy selected values from several columns to one single column in the attribute table.
Specifically, where columns (Grid_code, grid_code1, grid_code2.... etc) have values of 4 and 10, I want them to be copied to a new column, but to ignore all other values (which are all 0s).
This image illustrates roughly what I'm trying to do (in reality there are more columns and rows!)
I think I should do this in field calculator, but can't work out how- I'm inexperienced with VB and Python.
I'm using ArcGIS 10.3.1 for Desktop.
أكثر...
Specifically, where columns (Grid_code, grid_code1, grid_code2.... etc) have values of 4 and 10, I want them to be copied to a new column, but to ignore all other values (which are all 0s).
This image illustrates roughly what I'm trying to do (in reality there are more columns and rows!)

I think I should do this in field calculator, but can't work out how- I'm inexperienced with VB and Python.
I'm using ArcGIS 10.3.1 for Desktop.
أكثر...