Using con to create new raster

Discussion created by yl899 on Mar 15, 2012
Latest reply on Mar 16, 2012 by curtvprice
Hi all. I need some help here. I have problem when i try to create a new raster.
Initial raster layer contained pixel value=10, 20....220

If i want to extract pixel value, only 40 (this works), and call it as 1:

Con((Lookup("kk", "value") == 40),1)

I have problem trying to extract 3 values (value=40, 160 and 170).

Con((Lookup("kk", "value") == 40) & (Lookup("kk", "value") == 160) & (Lookup("kk", "value") == 170),1)

Thanking you all in advance.