AnsweredAssumed Answered

Field Calculator

Question asked by Bauger on May 21, 2014
Latest reply on May 21, 2014 by Bauger
Hi folks,

I am new to this python game and hopefully I can get pointed in the right direction. I am trying to run a field calculator python script using an IF THEN statment.

My data exists like this:
Species Code 1
Species Code 1 Percentage
Species Code 2
Species Code 2 Percentage
Species Code 3
Species Code 3 Percentage
And so on to 7.

I am trying to fill in an area field using a logic like this:

PL_vol
If Species code 1 = PL
Then Species Code 1 Percentage x Area

If Species Code 1/= PL
Then move to species code 2 to validate.

Essentially what I am trying to do is search the species code fields for PL then multiply the corresponding value by an area.
If somebody could point me in the right direction or has suggestions I would be very greatful.

Thanks,
Brett

I am using ARCGIS 10.0INFO

Outcomes