I'm looking to create a formula where it looks to a field X to see if it contains one of six values, if one of those values are in the field then look at two addition fields Y and Z and then multiply them together, if one of the six values are not in field X, return a value of 0.

Is it possible to validate for six values and then perform an additional function?

Is it possible to validate for six values and then perform an additional function?