Evaluating two fields and assigning value in a third?

Discussion created by sjkidd on Jan 27, 2012
Latest reply on Jan 27, 2012 by mdenil
I think I've reached a point where I need a Python script but I'm not sure exactly how to proceed. This is what I would like to do:

If the value in Field1 is between 100 and 200
and the value in Field2 is 11,
then Field3 is calculated to "red"

and so on.

I've found a few code examples but I'm not sure where to execute - can I do this in the field calculator? the raster calculator? or do I need a stand alone script?

Once I figure this out, then I will try to tackle the code!

Thanks for any pointers.