Field calculator to update a field using another field in attribute table

2202
11
Jump to solution
10-09-2017 09:41 AM
DuminduJayasekera
New Contributor III

Hi,

I have the following attribute table. I need to update the fields using the field calculator (SEC, TOWN, RANG) by using the "mtrs" and "label" columns(fields) in the attribute table. 

SEC: (letter S + label)   TOWN: (string from mtrs)    RANGE (string from mtrs)      S_R_T (join the SEC+TOWN+RANG)

S24                               T1N                                     R14W                                      S24-T1N-R14W                               

S4                                 T1N                                     R14W                                      S24-T1N-R14W 

S34                               T2S                                     R8W                                        S34-T2S-R8W

.

.

Can somebody help me to achieve this using the "Field Calculator" and Python parser functions?

Thanks a lot in advance.

 

11 Replies
DanPatterson_Retired
MVP Emeritus

Dumindu could you select the answer that answered the question to close the thread.

0 Kudos
DuminduJayasekera
New Contributor III

I did. Thanks.

0 Kudos