Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

If function based on multiple columns

✭✭✭✭✭


I have done formula on column 3 and 4


if column 3 returns yes and column 4 is blank, the status will return from column 3

but if column 4 has yes in it, the status will return from column 4 ignoring what is column 3


I want to add the column 5 in the same formula with the same principle


if column 5 has yes, status will be yes, otherwise it will look at the column on the left

if column 4 is blank it will look at column 3

@Paul Newcome @Genevieve P. i have tagged you guys hoping you can help directly please

would really appreciate your advise

Tags:

Best Answer

  • ✭✭✭✭✭✭
    Answer ✓

    @Maz Uddin

    It's easiest and cleanest to write the formula backwards (in this case, from the rightmost to the leftmost). Try this:

    =IF([Column5]@row = "Yes", "C Approved", IF([Column4]@row = "Yes", "B Approved", IF([Column3]@row = "Yes", "A Approved")))

    Hope this helps!

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions

  • I'm trying to create a SUMIF formula that looks at the salesperson name in a column and adds up or totals their $ sales in another column. To ultimately show in Dashboard of Totals Sales by Salesperso…
    User: "Allan Z"
    Answered ✓
    9
    2
  • Good day Smartsheet Team, Getting an unparseable error on this formula: =IF($Name@row <> "",(SUMIFS({Expense}, {Period},1, {Type}, OR(@cell = "RES602782", @cell = "RES602497")),"") Trying to pull in a…
    User: "stratman"
    Answered ✓
    15
    2
  • I have a sheet that compiles all the responses from a form. The sheet has multiple start and end date columns, but only one start and one end date cell is NOT blank depending on the activity selected …
    User: "m_anderson"
    Answered ✓
    13
    2