I want to replace some empty cells in Variable B and Variable C with 0 if Variable A == 0. If Variable A equals anything but 0 I would like Variable B and Variable C to stay the same. I've created a table below and I have a screenshot attached to help explain what I mean.
Variable A | Variable B | Variable C |
---|---|---|
0 | ||
0 | ||
1 | 3 | 8 |
Essentially, if Variable A == 0, I want Variable B == 0 and Variable C == 0, but if Variable A has a value then I want Variable A, Variable B, and Variable C to keep their original value.
Screenshot to help explain: https://i.stack.imgur.com/OihrX.png