I am trying to put a formula in cell B1 that changes as a user selects a function (Sum, Average, Median etc) from a drop down in cell A1. I can accomplish this with, where (C10:C30) references a column of numerical data, however I wondered if there was a way to write a formula that would change the function to match the drop down such asFormula:
Please Login or Register to view this content.which produces a #VALUE! error? I started by wrapping this with Concatenate i.e.Formula:
Please Login or Register to view this content.which populated cell B1 with the text "=SUM(C10:C30)". I had found a thread suggested using INDIRECT wrapped around CONCATENATE to solve another problem so I tried![]()
Please Login or Register to view this content.
however it produced a #REF! error. I have also read about an add-in, Morefunc, that allows evaluation of text formulas from http://xcell05.free.fr/english/, however I was not able to connect to this link, and was also not sure if this would create portability issues. Is there a way to do what I am suggesting in my first sentence using portable Excel 2010 functions?Formula:
Please Login or Register to view this content.
ExampleStatsDropDown.xlsx
Bookmarks