Skip to main content
Best answer

"Invalid Syntax: Only numeric values are allowed" when using an IF function

  • April 22, 2024
  • 1 reply
  • 63 views

I’m using an IF formula to return value A (“Internal”) or value B (“Public”) depending on what a cell looks like in my Google Sheet.

The error I get is “Invalid Syntax: Only numeric values are allowed”. 

I saw a similar post about using JavaScript code, but I’m not sure if this is the correct solution for me let alone how to implement.

 

Best answer by Troy Tessalone

Hi @Lauryn 

Try putting double quotes around the mapped variable.

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34065 replies
  • Answer
  • April 22, 2024

Hi @Lauryn 

Try putting double quotes around the mapped variable.