Im working to sum up several custom fields given some criteria
- The number needs to be less than 200
- The field should be skipped if there is no number there.
- For example if the numbers in the four of the fields are 1,null,2,900 the answer should be 3 (skipping the null and skipping the 900)
- I have the first bullet point figured out and I can sum everything that has data while skkipping things over 200, but my issue occurs when something doesnt have an entry in the field (null).
Any ideas?
Here is what im running right now. Basically check if the field is less than 200, if it is print it and add to the next number:
{{#if(customfield_12863.lte(200))}}{{customfield_12863}}{{/}} + {{#if(customfield_12869.lte(200))}}{{customfield_12869}}{{/}} + {{#if(customfield_12859.lte(200))}}{{customfield_12859}}{{/}}+ {{#if(customfield_12848.lte(200))}}{{customfield_12848}}{{/}}
Thanks in advance!