Skip to main content

Two condition Formula


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.

2 replies

Justin_Barrett
Forum|alt.badge.img+20

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)

  • Author
  • New Participant
  • 2 replies
  • August 2, 2020

Thank you so much @Justin_Barrett, it worked! I spent 2 hours on it last night and couldn’t work it out.
Regards,
Dom.


Reply