IF + OR formula help

Hi

I have 2 columns Market & Static, I need a formula that will check the markets, and if the market drop-down matches any of the markets it will times the amount of statics by 2.

This is the formual i currently have but its not working :(


=IF(OR(Market@row="RM", Market@row="GI”), OR(Market@row=“Dubai”, Market@row=“TK”),([Statics]@row * 2)) + IF(OR(Market@row="UK", Market@row="ES”), OR(Market@row=“FR”, Market@row=“DE”),([Statics]@row * 5))


I hope the above makes sence can someone please help?

Best Answer

  • Nick Korna
    Nick Korna ✭✭✭✭✭✭
    Answer ✓

    Hi @Jade,

    Your OR functions just need fixing slightly:

    =IF(OR(Market@row = "RM", Market@row = "GI", Market@row = "Dubai", Market@row = "TK"), Statics@row * 2, IF(OR(Market@row = "UK", Market@row = "ES", Market@row = "FR", Market@row = "DE"), Statics@row * 5))

    Sample:

    Hope this helps, but if you've any problems/questions then just post! 🙂

Answers

  • Nick Korna
    Nick Korna ✭✭✭✭✭✭
    Answer ✓

    Hi @Jade,

    Your OR functions just need fixing slightly:

    =IF(OR(Market@row = "RM", Market@row = "GI", Market@row = "Dubai", Market@row = "TK"), Statics@row * 2, IF(OR(Market@row = "UK", Market@row = "ES", Market@row = "FR", Market@row = "DE"), Statics@row * 5))

    Sample:

    Hope this helps, but if you've any problems/questions then just post! 🙂

  • Jade
    Jade ✭✭

    Amazing, Thank you so much for your help here

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!