# If / And

✭✭✭

I believe the formula I'm looking for is an if/and but I can't get the argument set quite right.

I need the formula to output a number based on the AOR and the tier level.

Here is what i have so far: =IF(AND(AOR@row = "X", [TIER LEVEL]@row = "I", 25, [TIER LEVEL]@row = "II", 55, [TIER LEVEL]@row = "III", 75))

Appreciate any help!

• ✭✭✭✭✭✭

Exactly what is the logic you are wanting to use?

• ✭✭✭

My original formula is

=IF([TIER LEVEL]@row = "I", 25, IF([TIER LEVEL]@row = "III", 55, IF([TIER LEVEL]@row = "II", 75)))

but I need to incorporate a way to note that these values are only true if the column titled "AOR" is "X".

• ✭✭✭✭✭✭

Hi @aecross

I hope you're well and safe!

Try something like this.

=IF(AOR@row = "X", IF([TIER LEVEL]@row = "I", 25, IF([TIER LEVEL]@row = "III", 55, IF([TIER LEVEL]@row = "II", 75))))

Did that work/help?

I hope that helps!

Be safe, and have a fantastic week!

Best,

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

SMARTSHEET EXPERT CONSULTANT & PARTNER

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

• ✭✭✭✭✭✭

The most efficient way would be:

=IF(AOR@row = "X", IF([TIER LEVEL]@row = "I", 25, IF([TIER LEVEL]@row = "III", 55, IF([TIER LEVEL]@row = "II", 75))))

The easier to read way would be to incorporate the AND function like so:

=IF(AND(AOR@row = "X", [TIER LEVEL]@row = "I"), 25, IF(AND(AOR@row = "X", [TIER LEVEL]@row = "III"), 55, IF(AND(AOR@row = "X", [TIER LEVEL]@row = "II"), 75)))

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!