Addin Descriptive Statistics and Excel

chattanuga

New Member
Joined
Mar 28, 2013
Messages
1
Hy all!

Not really a question, just wanted to post the correct way to adress the descriptive statistics add-in with vba (because after half a day of searching and then trial and error I think I finally figured it out!)

Hope it saves some of you from having to do the same thing!

Application.Run "ATPVBAEN.XLAM!Descr", Input Range, Output Range, "C" or "R" depending on data is in columns or rows,True or False if labels are in first row/column, True or False if summary is wanted or not, number of kth largest, number of kth smallest, percentage of mean of confidence level
<output range=""><the data="" is="" in="" the="" columns="" (put="" "c")="" or="" rows="" "r")=""><labels in="" first="" row="" column="" (depending="" on="" the="" "c"="" or="" "r"="" parameter)="" (put="" true="" false)=""><summary statistics?="" (put="" true="" or="" false)=""><kth largest=""><kth smallest=""><confidence level="" for="" mean="">
So for example

Application.Run "ATPVBAEN.XLAM!Descr", Sheets("Sheet1").Range(Cells(1, 1), Cells(10,2)), Sheets("Sheet1").Cells(1,5), "C", False, True,1,2,95

will give you the descriptive statistics of the data in A1 to B10 columnwise and write it to E1. The data name is not in the first row, you will get a summary, the 1th Largest and 2nd smallest values are shown and the 95% mean confidence level.</confidence></kth></kth></summary></labels></the></output>
 
Last edited:

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,214,970
Messages
6,122,514
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top