Syntax Error in Numbers

I can’t seem to understand where’s the issue with the Syntax here:


=if(B21<0, "Missing", ""), if(B21=0, "", ""), if(B21>0, "Too much", "")


i tried many variations, commas, semicolons etc., but it works only if there’s only 1 “if” sentence

Posted on May 14, 2023 1:42 AM

Reply
Question marked as Top-ranking reply

Posted on May 14, 2023 4:15 AM

There is also the IFS function


=IFS(B21<0,"Missing",B21=0,"",B21>0,"Too Much")


Or, using the IF function, you only need to check if <0 and if >0. No need to check for =0 because if it is not <0 or >0 then it has to be =0.


=IF(B21<0,"Missing",IF(B21>0,"Too Much",""))

2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Syntax Error in Numbers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.