I tired searching everywhere before I decided to post here.

I have a complex requirement which I made simple, I have 10 text box fields in my InfoPath form and in 11th texbox, I need to populate the Median of all the 10 text box's values.

Is there anyway I can achieve it using InfoPath forms?

Someone has posted below sample form which calculates the Median value but it's calculating it in Calculated Values which is not getting deployed on my library where I intend to use it further (like fetching data from library)


Any help guys?

  • Could you use the formula for calc the median on field change on the textboxes, or on submit, to set the 11th textbox instead. Commented Jan 21, 2013 at 8:58
  • I couldnt found any formula in InfoPath that gives Median value!!
    – NICK
    Commented Jan 21, 2013 at 9:56
  • Any help guys? Not sure of this!!
    – NICK
    Commented Jan 22, 2013 at 6:44
  • Ah ok, I thought there was a formula in the Averages.xsn you found that you could use on submit or something. Tbh I have never calculated the median with InfoPath. An alternative is to promote the 10 fields to SharePoint and use a Calculated field in SharePoint with: =Median(field1,field2,etc) Commented Jan 22, 2013 at 6:55
  • I guess than there is no way to calculate median in InfoPath, I can definetly use SharePoint's field and Calculated field (I guess that's what I will be going) but as per requirement, users wanted to show the result value before submitting, using sharepoint fields, they will have to submit it to show the results, I guess that makes sense!!
    – NICK
    Commented Jan 22, 2013 at 7:52

1 Answer 1


After a lot of research and getting help I found out the solution of my above problem.

I have updated the detailed answer here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.