Help with calculated fields | Community
Skip to main content
Level 4
Sep 1, 2020 8:09 PM UTC
Question

Help with calculated fields

I hope this one is easy. I am looking to add two custom fields, and then multiple that sum by another custom field.

Overall:

(field 1+field 2)*field 3

Thoughts?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

Level 9
Sep 2, 2020 4:47 PM UTC

The two functions you will use is PROD and SUM

(PROD(SUM(DE:field1, DE:field2)DE:field3))

Translate
Level 9
Sep 2, 2020 4:11 PM UTC

Can you provide a screenshot of what you have or actual names of the fields? If you have special characters in your field names, that might make a difference.

Translate
TimBr1Author
Level 4
Sep 2, 2020 1:53 PM UTC

Uh, still having trouble, and I confirmed all of these details. Are there any tricks I could be forgetting to make it work? Spacing between things, or other little things?

Translate
JoeSalas
Level 3
Sep 2, 2020 4:05 PM UTC

If you are comparing a custom field, use DE:Actual Name of the Field for the name field you are comparing with the first field.

Note:

If you manually enter the name of a custom field by the same name as a Workfront native field, you must precede it in the calculation by "DE:" and surround it by curly brackets so that Workfront knows that you are referencing the custom field.

https://one.workfront.com/s/document-item?bundleId=workfront-classic&topicId=Content%2FAdministration_and_Setup%2FCustomize_Workfront%2FCreate_manage_Custom_Forms%2Fadd-calculated-data-to-custom-form.html

Translate
Level 9
Sep 1, 2020 8:38 PM UTC

What you have works:

(Field1+Field2)*Field3

Make sure all 4 fields are Number format

Save the first 3 fields before creating the calculation.

Translate