Custom Field Average Calculation with Blank Custom Fields | Community
Skip to main content
Level 3
October 12, 2019
Question

Custom Field Average Calculation with Blank Custom Fields

  • October 12, 2019
  • 2 replies
  • 483 views
Hello, Does anyone know how to "ignore" a blank field in a custom field average calculation? Example: AVERAGE(Comp1,Comp2,Comp3) Comp1 =30 Comp2=30 Comp3 is blank Average = 20 (should be 30) Thanks! Patricia Greene JLL
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Doug_Den_Hoed_AtAppStore
Community Advisor
Community Advisor
October 12, 2019
Hi Patricia, I'd suggest rolling your own using this pattern: SUM(IF(ISBLANK(A),0,A), IF(ISBLANK(B),0,B),...) / SUM(IF(ISBLANK(A),0,1),IF(ISBLANK(B),0,1),...) Regards, Doug Doug Den Hoed - AtAppStore
Level 3
October 12, 2019
Thanks much! One of the 2019 World's Most Ethical Companies® Jones Lang LaSalle For more information about how JLL processes your personal data, please click "http://www.jll.com/privacy-statement">here . This email is for the use of the intended recipient(s) only. If you have received this email in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email without the author's prior permission. We have taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. We cannot accept liability for any loss or damage caused by software viruses. The information contained in this communication may be confidential and may be subject to the attorney-client privilege. If you are the intended recipient and you do not wish to receive similar electronic messages from us in the future then please respond to the sender to this effect.