In excel this produces an error: =IFS(ISBLANK(E2),"no bib","",ISBLANK(E2),"no bib","")…
- User
In excel this produces an error: =IFS(ISBLANK(E2),"no bib","",ISBLANK(E2),"no bib","") but this does not =IF(ISBLANK(E2),"no bib","") why?
- Assistant
Great question — let’s unpack what’s happening here.
✅ The working formula excelCopiar código=IF(ISBLANK(E2),"no bib","")
This works fine. Explanation:
The IF function has a simple syntax: scssCopiar códigoIF(logical_test, value_if_true, value_if_false)
Here, if E2 is blank, it returns "no bib". Otherwise, it returns an empty string "".
❌ The broken formula excelCopiar código=IFS(ISBLANK(E2),"no bib","",ISBLANK(E2),"no bib","")
This produces an error because the syntax of IFS() is incorrect.
How IFS() works The syntax of IFS() is: excelCopiar códigoIFS(condition1, value_if_true1, [condition2, value_if_true2], …)
That means:
Each condition must be followed by exactly one result value.