Excel - LOGINV Function



LOGINV Function

The xs lognormal cumulative distribution function, represented by ln(x), is normally distributed and has two parameters: mean and standard_dev. The Excel LOGINV function returns the inverse of this distribution. It is employed in various scenarios, such as disaster management to determine earthquake magnitude, modelling finance and stock-related data, predicting pollutant levels in water bodies, and many more.

The LOGINV function replaces the LOGNORM.INV function in Excel 2010. This function is inclusive for backward compatibility. However, it will not be included in Microsoft Excels upcoming version.

Let suppose t = LOGNORMDIST(x,...), then LOGINV(t,...) = x

Here, t denotes the probability.

Syntax

The syntax of LOGINV function is as follows −

LOGINV (probability, mean, standard_dev)

Compatibility

This advanced excel function is compatible with the following versions of MS-Excel −

  • Excel for Microsoft 365
  • Excel for Microsoft 365 for Mac
  • Excel for the web
  • Excel 2021
  • Excel 2021 for Mac
  • Excel 2019
  • Excel 2019 for Mac
  • Excel 2016

Arguments

You can use the following arguments with the LOGINV function −

Argument Description Required / Optional
Probability It specifies the probability linked with the lognormal distribution. Required
Mean It specifies the ln(x)s mean. Required
Standard_dev It specifies the ln(x)s standard deviation. Required

Points to Remember

  • If any argument is other than numeric, then the LOGINV function receives the #VALUE! Error.
  • Either the p-value is less than/equal to zero or the p-value is larger than/equal to 1, then the LOGINV function retrieves the #NUM! Error.
  • If the third argument is standard_dev is negative or equal to zero, then the LOGINV will receive the #NUM! Error.

Examples of LOGINV Function

Practice the following examples to learn the use of the LOGINV function in Excel.

Example 1

Consider the sample dataset where the p-value (probability), Mean, and Standard deviation value are provided. You may enter the formula =LOGINV(D4,D5,D6) in the D7 cell.

Excel Loginv Function 1

Now, you can press the Enter key to get the accurate result, which is 217.0717.

Excel Loginv Function 2

Example 2

If any argument is other than numeric, then the LOGINV function receives the #VALUE! Error.

Solution

You may enter the formula =LOGINV(D4,D5,D6) in the D7 cell. Here, you can notice that the p-value is text Condition, which is non-numeric depicted in the D4 cell.

Excel Loginv Function 3

After that, press the Enter key. Therefore, the #VALUE! Error is obtained as the first argument probability(p-value) contains the non-numeric value, which is not permissible in the LOGINV function.

Excel Loginv Function 4

Example 3

Either the p-value is less than/equal to zero or the p-value is larger than/equal to 1, then the LOGINV function retrieves the #NUM! Error.

Solution

Case 1 − If the p-value is less than zero

You may type the formula =LOGINV(D4,D5,D6) in the D7 cell as the value of the first argument is negative and is not allowable in this function.

Excel Loginv Function 5

After that, press the Enter tab to get the resulting value, the NUM! error.

Excel Loginv Function 6

Case 2 − If p value is greater than zero

You may enter the formula =LOGINV(D4,D5,D6) in the D7 cell as the value of p is 89, which is greater than 0.

Excel Loginv Function 7

Once you press the Enter tab, the LOGINV function will retrieve the #NUM! Error.

Excel Loginv Function 8

Example 4

If the third argument, Standard Deviation, is negative or equal to zero, then the LOGINV will receive the #NUM! Error.

Solution

You can enter the LOGINV formula =LOGINV(D4,D5,D6) in the D7 cell, where D4, D5, and D6 cell references are provided.

Excel Loginv Function 9

Now, press the Enter tab to get the resulting value, #NUM!

Excel Loginv Function 10

You may edit the standard deviation value and set it to a numeric positive value, using the same formula to get an accurate result.

Advertisements