Lognormal formulas

ldarley

Board Regular
Joined
Apr 10, 2012
Messages
106
Office Version
  1. 2019
  2. 2016
Hi all,

I'm a bit confused about what value I'm supposed to use in the lognormal.dist and other lognormal formulas for the mean and standard deviation parameters.

For example if my x range is in B:B and the log of x is in range C:C is the mean:

1: Average(B:B)
2. Average(ln(B:B))
3. Average (C:C)

Same options for standard deviation. Any help greatly appreciated!

Laurence
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Use ranges like B1:B10000 instead of B:B. Adjust 1 and 10000 as needed. But the point is: it is unlikely that you have 1+ million data points.


As the lognormal.dist help page explains, the mean parameter is the "mean of ln(x)"; and the std dev parameter is the "standard deviation of ln(x)".

So array-enter (press ctrl+shift+Enter instead of just Enter) the following formulas:

=AVERAGE(LN(B1:B10000))

=STDEVP(LN(B1:B10000))

Use STDEV instead of STDEVP if B1:B10000 is a sampling, and you want to estimate the (larger) population std dev.


[EDIT] I just noticed that you have ln(x) in C:C. So you could normally-enter (press Enter usual) the following formulas:

=AVERAGE(C1:C10000)

=STDEVP(C1:C10000)
 
Last edited:
Upvote 0
Awesome joeu2004 thanks for your help, particularly the array formula!
 
Upvote 0

Forum statistics

Threads
1,215,013
Messages
6,122,690
Members
449,092
Latest member
snoom82

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