Excluding a number from calculating

Printed From: Crystal Reports Book — Forum Name: Technical Questions

Hi I am hoping someone can help. I am working on the a report. The code I have is?

if {Columns.Column Number} = 3 then
1
else 0;

What if there was a number in the column I wanted to exclude for example '33135' Does anyone know how the formula would look?

Any ideas?

Les

Edited by lbuffett - 03 Jan 2019 at 6:51am
more detailed example please