Hi all,

I would like to know if there is a way to perform a conditional raster calculation between two layers A and B.

I would like to have the following conditions:

If (inRastA <= 43) (condition 1) and (inRastB> = 42) (condition2) and (inRastA+inRastB <= 85) (condition3), then the result is (ouRast = 86), otherwise (inRastA+inRastB).

How can I write this statement within the Raster Calculator?

Below the same example written in Excel

=IF(And(A1<=43; B1>=42; O1<=85);86;O1+B1)

Regards!

Could you please try this:

Con(("inRastA" <= 43) & ("inRastB" >= 42) &(("inRastA" + "inRastB") <=85),86, ( "inRastA" + "inRastB"))