Table of Contents
Excel is a powerful tool that can be used to efficiently organize and analyze data. One of its useful features is the ability to find the last value in a column that is greater than zero. This can be done by utilizing the built-in functions and formulas in Excel. By using these tools, users can easily and accurately identify the last positive value in a column, making data analysis and decision making more efficient and effective. This feature is particularly helpful for financial and numerical data, where identifying the last positive value can provide valuable insights. Overall, Excel’s functionality allows users to efficiently extract and manipulate data, making it an essential tool for data-driven tasks.
Excel: Find Last Value in Column Greater than Zero
You can use the following formula in Excel to find the last value in a column that is greater than zero:
=LOOKUP(2,1/(A2:A13>0),A2:A13)
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 :
=LOOKUP(2,1/(A2:A13>0),A2:A13)
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 following tutorials explain how to perform other common tasks in Excel:
Cite this article
stats writer (2024). How can I use Excel to find the last value in a column that is greater than zero?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-use-excel-to-find-the-last-value-in-a-column-that-is-greater-than-zero/
stats writer. "How can I use Excel to find the last value in a column that is greater than zero?." PSYCHOLOGICAL SCALES, 22 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-use-excel-to-find-the-last-value-in-a-column-that-is-greater-than-zero/.
stats writer. "How can I use Excel to find the last value in a column that is greater than zero?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-use-excel-to-find-the-last-value-in-a-column-that-is-greater-than-zero/.
stats writer (2024) 'How can I use Excel to find the last value in a column that is greater than zero?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-use-excel-to-find-the-last-value-in-a-column-that-is-greater-than-zero/.
[1] stats writer, "How can I use Excel to find the last value in a column that is greater than zero?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.
stats writer. How can I use Excel to find the last value in a column that is greater than zero?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
