You can use the following formula in Excel to find the last value in a column that is greater than zero:
This particular formula finds the last value in the range A2:A13 that is greater than zero.
The following example shows how to use this formula in practice.
Example: Find Last Value in Column Greater than Zero in Excel
Suppose we have the following column of values in Excel:
Suppose we would like to find the last value in the range A2:A13 that is greater than zero.
We can type the following formula into cell C2 to do so :
The following screenshot shows how to use this formula in practice:
The formula returns a value of 12.
By looking at the data, we can confirm that this is indeed the last value in the column greater than zero:
If we change one of the values below the 12 to be greater than zero, then the formula will automatically update to detect this new value.
For example, suppose we change the value in the second to last row to 15.
The formula automatically updates to detect that this is the last value in the column that is greater than zero:
The following tutorials explain how to perform other common tasks in Excel: