Aug 01, 2020 06:06 AM
Here is my current formula: IF(Store=“A”,(({Price}/100)*10))
This formula gives me the calculation of 10% of the figure in the Price column if the store in the Store column is A.
So far so good.
But how do I add store B to that formula? Say I have store A, B, C, D etc but I only want the formula applied if the store is A or B in the Store column?
Thanks in advance.
Aug 01, 2020 07:29 AM
To run the same calculation for both stores A and B, you can use OR()
to look for either one. You can also simplify your calculation:
IF(OR(Store = "A", Store = "B"), {Price} * .1)
Aug 02, 2020 01:34 AM
Thank you so much @Justin_Barrett, it worked! I spent 2 hours on it last night and couldn’t work it out.
Regards,
Dom.