A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Your data should be in a table.
Click the table
Design > check "Totals Row"
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I need to create a drop down list that contains Excel formulas (Average, Count, Sum, etc).
Is there an easy way to do this?
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Your data should be in a table.
Click the table
Design > check "Totals Row"
Can you be more specific? Do you want the formula results displayed? Or do you want the drop down list to change the formula in that cell?
Kevin
In the drop down are the following functions:
None
Average
Count
Count Numbers
Max
Min
Sum
StdDev
Var
Other Functions...
When a function is chosen the calculation is shown in that same cell that contains the drop down.
This is not what I am looking for. The drop down automatically tabulates the formulas - I don't have to type in a formula anywhere.
Also the last choice in the drop down is "More Functions". When you click on that it opens the Excel Insert Function box.
So, I guess I want the Data Validation to have a drop down list of function - still don't know how to do this.
select the cell
choose Data => Validationi
in the "Allow:" dropdown choose list
in the resulting textbox ("Source:") type
Average,Count,Sum,etc
(just type your list of choices - no qoutes or double quotes needed. If your list separator is not a comma, use your list separator as the delimiter.
then click OK.
say that A1 is the cell with the data validation dropdown.
in another cell
=if(A1="","",if(A1="Average",Average(B1:B10),if(A1="Count",count(B1:b10,if(A1="Sum",Sum(B1:B10),"etc))))
--
Regards,
Tom Ogilvy