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 AND Formula with Multiple Criteria

✭✭
edited 03/20/25 in Formulas and Functions

Hi there, I've searched so many threads and tried parsing together how this would work for my scenario but I keep getting an invalid argument. I have a column for "Status" and I want to incorporate a formula to auto select the status based on other cell criteria:

Open: If "Date Shipped to Supplier" is blank

At Supplier: If "Date Shipped to Supplier" is not blank

Reworked: If "Return Date" is not blank

Closed: If "Rework Pass/Fail" is "Pass"

Rework Failed: If "Rework Pass/Fail" is "Fail"

So far I got here but gave up:

=IF(ISBLANK([Date Shipped to Supplier]@row), "Open", IF(AND(NOT(ISBLANK([Date Shipped to Supplier]@row)), ISBLANK([Return Date]@row)), "At Supplier"), IF(AND(NOT(ISBLANK([Date Shipped to Supplier]@row))), NOT(ISBLANK([Return Date]@row))), "Reworked")

Any help is appreciated, thank you!!

Kendra

Tags:

Best Answer

  • ✭✭✭✭✭
    Answer ✓

    Try this

    =IF([Rework Pass/Fail]@row = "Pass", "Closed", IF([Rework Pass/Fail]@row = "Fail", "Rework Failed", IF(ISBLANK([Return Date]@row) = false, "Reworked", IF(ISBLANK([Date Shipped to Supplier]@row), "Open", "At Supplier"))))

    Regards,

    Soum

    Please accept my answer as Solution if it helped you

Answers

  • ✭✭✭✭✭
    Answer ✓

    Try this

    =IF([Rework Pass/Fail]@row = "Pass", "Closed", IF([Rework Pass/Fail]@row = "Fail", "Rework Failed", IF(ISBLANK([Return Date]@row) = false, "Reworked", IF(ISBLANK([Date Shipped to Supplier]@row), "Open", "At Supplier"))))

    Regards,

    Soum

    Please accept my answer as Solution if it helped you

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions