I’m not quite sure if I can ask this question here or on SuperUser,
I want to know how can I plot a CDF chart out of my excel data.
My data is something like this (my real data have 22424 records):
1 2.39E-05
1 2.39E-05
1 2.39E-05
2 4.77E-05
2 4.77E-05
2 4.77E-05
4 9.55E-05
4 9.55E-05
4 9.55E-05
4 9.55E-05
4 9.55E-05
4 9.55E-05
8 0.000190931
8 0.000190931
You can use the
NORMDISTfunction and set the final parameter to true:As an example, suppose I have 20 data points from 0.1 to 2.0 in increments of 0.1 i.e. 0.1, 0.2, 0.3…2.0.
Now suppose that the mean of that dataset is 1.0 and the standard deviation is 0.2.
To get the CDF plot I can use the following formula for each of my values:
To remove duplicate entries from your data and sum values that are the same you can use the following code.
ALT + F11to open VBEInsert > Moduleto place a module in the editorRemoveDuplicatesand PressF5to run the codeAs a result, your unique, summed results will appear in Sheet2 in your workbook.