-
-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@if does not allow string result expressions #541
Comments
You have to enter the whole formula with |
Ah, in place of |
Unfortunately, when I quit the spreadsheet, it adds numeric value |
Workaround: |
Yep @earthshrink. That was an issue when saving the file rather than in the evaluation. Please update to latest commit on new branch and try again. Thanks. |
All stuff from new branch was merged to default freeze branch. So update to latest commit in there. Thanks. |
Updated to latest commit, it works- my workaround not needed. |
Entering
@if
with string result expressions, as in this example from the help file@if(A1>100,"over","not enough")
leads toIllegal numeric expression
error. The help file saysRemember string expressions should be entered by typing \"
. But prefixing the quote with back-slash, as in entering@if(1=1,\"y",\"n")
results insyntax error
.It does take
@if(1=1, G1, G2)
, but it pulls the number and not the string in G1 or G2. I get0
, even though G1 contains the labeltrue
and no numeric value. Please advise if this works and what I am doing wrong.thanks.
The text was updated successfully, but these errors were encountered: