Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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)

http://www.infopathdev.com/forums/storage/41/85741/Averages.xsn

Any help guys?

share|improve this question
    
Could you use the formula for calc the median on field change on the textboxes, or on submit, to set the 11th textbox instead. –  Anders Aune Jan 21 '13 at 8:58
    
I couldnt found any formula in InfoPath that gives Median value!! –  NICK Jan 21 '13 at 9:56
    
Any help guys? Not sure of this!! –  NICK Jan 22 '13 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) –  Anders Aune Jan 22 '13 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 Jan 22 '13 at 7:52
add comment

1 Answer 1

up vote 0 down vote accepted

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

I have updated the detailed answer here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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