Skip to main content
Participant
April 25, 2024
Answered

Subtraction Formula Not Working

  • April 25, 2024
  • 1 reply
  • 603 views

I am trying to create a calculation on a form. My fields are named Previous Job Total and Revised Job Total. I go to the calculate tab enter "Revised Job Total-Previous Job Total" under simplified field notation and nothing happens. I don't get an error message or anything. I have tried using Underscores for the spaces, all lower case, no spaces, spaces on both eds of the minus signs. I even deleted the box and put a new one in just in case. I would appreciate any insite because I am at a loss. Thank you!!!

This topic has been closed for replies.
Correct answer try67

Special characters (such as spaces, hyphens, etc.) need to be escaped. Try this:

Revised\ Job\ Total - Previous\ Job\ Total

Alternatively, rename the fields and remove the spaces, and then you would be able to use their names directly, like this:

RevisedJobTotal - PreviousJobTotal

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
April 25, 2024

Special characters (such as spaces, hyphens, etc.) need to be escaped. Try this:

Revised\ Job\ Total - Previous\ Job\ Total

Alternatively, rename the fields and remove the spaces, and then you would be able to use their names directly, like this:

RevisedJobTotal - PreviousJobTotal

Participant
April 25, 2024

Ah! Thank you! I was starting to feel crazy for not being able to do subtraction