Calculate Field Value based on if Statement

Discussion created by Playa on Feb 28, 2011
Latest reply on Feb 28, 2011 by Playa
I have XSection points where I need to replace the Z values for the "CENTER" by subtracting 2.3m from the "LF" Z values for each "CH0" XSection. Please can someone assist with a vbscript or python script that I can paste into the field calculator window. I've attached an excel worksheet that will assist to understand the structure of my data.