Compatibility

LOGINV

Close: 2 of 5 recorded answers differ in the last bits, worst 2 ULP

Everything else matches (5 workbook cells). Last-bit means a finite number within 16 ULP of Excel's. How we measure this · See the Rust code

Local names in 40 languages
LanguageName in Excel
ArabicLOGINV
BulgarianLOGINV
CzechLOGINV
DanishLOGINV
GermanLOGINV
GreekLOGINV
English (Australia)LOGINV
English (United Kingdom)LOGINV
English (United States)LOGINV
SpanishDISTR.LOG.INV
EstonianLOGINV
FinnishLOGNORM.JAKAUMA.KÄÄNT
FrenchLOI.LOGNORMALE.INVERSE
HebrewLOGINV
CroatianLOGINV
HungarianINVERZ.LOG.ELOSZLÁS
IndonesianLOGINV
ItalianLOGINV
JapaneseLOGINV
KoreanLOGINV
LithuanianLOGINV
LatvianLOGINV
NorwegianLOGINV
DutchLOG.NORM.INV
PolishROZKŁAD.LOG.ODW
Portuguese (Brazil)LOGINV
Portuguese (Portugal)INVLOG
RomanianLOGINV
RussianЛОГНОРМОБР
SlovakLOGINV
SlovenianLOGINV
Serbian (Latin)LOGINV
SwedishLOGINV
ThaiLOGINV
TurkishLOGTERS işlevi
UkrainianLOGINV
VietnameseLOGINV
Chinese (Simplified)LOGINV
Chinese (Hong Kong)LOGINV
Chinese (Traditional)LOGINV

Names from Microsoft's support site.

What it does

LOGINV(probability, mean, standard_dev)

LOGINV(probability,mean,standard_dev) returns the value x at a specified cumulative lognormal probability. The parameters describe ln(X): mean is the location in log space and standard_dev its positive spread. They are not the arithmetic mean and standard deviation of the positive output variable. This is the compatibility spelling of LOGNORM.INV.

Try it

Input cells (optional)

Example: {"B2": 3, "B3": 4}. A1 holds the formula. Other cells need values before a formula can read them.

Enter a formula, then calculate.

Runs locally in your browser with OneCalc. Its answer may differ from Excel. Use English function names and commas between arguments.

=LOGINV(0.5,0,1) returns 1. Probability one half selects the median; the log-space median is zero and exponentiating it gives one.

=LOGINV(0.5,1,0.5) is about 2.718281828459045, the exponential of the log-space location one. Changing the positive spread does not move the mathematical median, although it changes other quantiles.

Quirks

The probability must be strictly between zero and one. Either endpoint, an out-of-range probability or a nonpositive standard deviation gives #NUM!; nonnumeric arguments give #VALUE!. The location may be negative: that describes positive values below one rather than negative output values.

Extreme quantiles can overflow after exponentiation, or become so small that worksheet publication matters. A normal quantile in log space can be representable even when its exponential is not. Do not treat that outer exponential as harmless formatting.

How to implement

  1. Validate the open probability interval and positive finite log-space spread.
  2. Obtain a standard-normal quantile z at p. The current candidate uses Acklam’s piecewise rational approximation followed by one Newton correction; that generic inverse is not an identified Excel inverse program.
  3. Form t=mean+standard_dev*z with the current binary64 multiplication and addition order.
  4. Call the measured public EXP chain on the stored t. The current code explicitly uses excel_exp here, rather than an arbitrary host exponential.

At p=0.5, the symmetric standard quantile is zero, so the calculation reduces to EXP(mean). This explains both examples without settling the inverse approximation away from the median. Tail quantiles, input coercion and publication still need their own controls; a direct lognormal inverse library can have different intermediate values.

Rust code

Show the CalcFunc source of this function

Quoted from the public repository DnaCalc/DnaCalc, crates calc-func and calc-fml, at commit 9e1884369a67. Comments are the source's own. A kernel shared with other functions appears once, on its module page.

LOGINV · 4 lines · calc-func/src/catalogue/distributions.rs on GitHub
12 loginv "LOGINV" (3, 3) [V "probability", V "mean", V "standard_dev"] |s, a, sv| {
    let [p, m, sd_] = nums::<3>(s, a)?;
    out(s, nl::lognorm_inv_kernel(p, m, sd_))
}

Kernels shared with other functions

Argument and result plumbing

  • num catalogue/kit
  • out catalogue/kit

No implementation has been published with a Handbook test suite for this function.

Version differences

No same-input comparison between named Excel builds is recorded for this function here. The documented behaviour below is not a measurement of every Excel release.

Alternatives

LOGNORM.INV is the modern spelling. NORM.DIST describes the normal variable in log space.

Named variants

No named variants are recorded yet.

Suggest a correction or contribute an implementation · For agents