# Combine 4 formulas in one cell

Options
✭✭

I have each of the following formulas in a separate cell and works just fine. However, I need it all in one cell but cannot seem to figure it out without getting error messages. Hoping someone can help me.

1- =IF(AND(Branch@row = "upstate"), IF(CONTAINS("PCA", Discipline@row), "Ivelise", IF(CONTAINS("HHA", Discipline@row), "Ivelise")))

2- =IF(AND(Branch@row = "downstate"), IF(CONTAINS("PCA", Discipline@row), "Mariel", IF(CONTAINS("HHA", Discipline@row), "Mariel")))

3- =IF(NOT(CONTAINS("PCA", Discipline@row)), "Perri")

4- =IF(NOT(CONTAINS("HHA", Discipline@row)), "Perri")

• ✭✭✭✭✭✭
Options

Hi @Tzippy

I hope you're well and safe!

Is the order correct?

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.

• ✭✭
Options

Hi! I'm not sure I understand what your question is but it doesn't have to be in a specific order I just need it all together.

thank you

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!