#INCORRECT ARGUMENT
I am trying to create an IF-OR statement however I'm left with #INCORRECT ARGUMENT SET. This formula works on Excel however I have issues with smart sheets.
=IF(OR([Mi-Tech Status]4856 = "Canceled", [Mi-Tech Status]4856 = "Transferred", [Mi-Tech Status]4856 = "Cancel", [Mi-Tech Status]4856, IF(ISNUMBER([Splice & Test Actual]4856), "Spliced & Tested", IF(ISNUMBER([Cable Placed Actual]4856), "Cable Placed", IF(ISNUMBER([Construction Start Actual]4856), "Construction Underway", [Mi-Tech Status]4856)))))
Any idea what I'm missing?
Best Answer
-
Just some parenthesis issues...
=IF(OR([Mi-Tech Status]4856 = "Canceled", [Mi-Tech Status]4856 = "Transferred", [Mi-Tech Status]4856 = "Cancel"), [Mi-Tech Status]4856, IF(ISNUMBER([Splice & Test Actual]4856), "Spliced & Tested", IF(ISNUMBER([Cable Placed Actual]4856), "Cable Placed", IF(ISNUMBER([Construction Start Actual]4856), "Construction Underway", [Mi-Tech Status]4856))))
Answers
-
Just some parenthesis issues...
=IF(OR([Mi-Tech Status]4856 = "Canceled", [Mi-Tech Status]4856 = "Transferred", [Mi-Tech Status]4856 = "Cancel"), [Mi-Tech Status]4856, IF(ISNUMBER([Splice & Test Actual]4856), "Spliced & Tested", IF(ISNUMBER([Cable Placed Actual]4856), "Cable Placed", IF(ISNUMBER([Construction Start Actual]4856), "Construction Underway", [Mi-Tech Status]4856))))
-
Thanks Paul
-
I am noticing an issue where the formula reads the original cell and doesn't recognize dates in the referenced cells (Construction Start Actual). Any ideas?
-
If I add a number it works however it doesn't work with a date.
-
That's because the ISNUMBER function looks for a number. You would need to replace ISNUMBER with ISDATE for those particular references.
Help Article Resources
Categories
Check out the Formula Handbook template!