If, Or, And

edited 12/09/19 in Smartsheet Basics

I'm trying to work an if/or/and statement to return one of 2 numbers. It would look something like,

 If X or Y or Z and A or B then 0 else 8.

It has me completely stumped my results are always unparsable. Do anyone have a direction to point me in?

Any help would be greatly appreciated.