Hi,
I am creating a calculation based on several products that have been chosen i previous questions
They are all Multi choice, one answer questions.
Q13 - has 8 levels and the value of the levels are recoded to the price of the product. Eks level 1 is 599, level 2 is 549, ect.
Q14 and Q15 are recoded to the amount of products they choose. So 1 level 1 is 0, Level 2 is 1, ect..
I need a formula like this:
$e{ q://QID14/SelectedChoicesRecode * 449 + q://QID15/SelectedChoicesRecode * 349 + q://QID13/SelectedChoicesRecode },-
But it is invalid.
If I remove Q13 and replace it with a zero, the syntax works for the two other variables. But it becomes invalid when I remove the zero. This I find strange. If I only go the syntax for selected choices recoded, the Q13 number is displayed correctly.
$e{ q://QID14/SelectedChoicesRecode * 449 + q://QID15/SelectedChoicesRecode * 349 +0 },-
I've tried a number of combinations, but I am found at a lost. Any help is much appreciated.
Best,
Lise Kristiansen
Coding and math calculations
Best answer by lizb311
Lise_Kristiansen This could be a problem with blank spaces. If you are editing the calculation in a survey question, switch to the HTML view. In your calculation, there should be a blank space separating every single term. If you see somewhere a blank space has been converted to the HTML
then you need to change that to a blank space. Do that while in HTML view by just overwriting the

It also looks like in the second calculation you wrote, you don't have a blank space separating the final term +0. You would probably need to change that to
+ 0and again, double check the HTML view to make sure you've entered a space that hasn't been converted to
Sign up
Already have an account? Login
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login to the Community
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
