Find bottom cell value that is not 0

Pavertheway

New Member
Joined
Nov 5, 2018
Messages
47
Hi,

I have a spreadsheet where I need to locate the bottom-most cell that's value is NOT 0 - however there is a possibility that the value we are looking for is numerically below 0.

I found;
LOOKUP(9.999999999999E+307,IF(Q1:Q300>0,Q1:Q300))

Which locates the bottom most cell with a value that is greater than 0, but does not count a negative value as it is below 0.

Is there a way to do what I need?

Thank you in advance.

 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Hi,

Maybe try something like this (a small change):
=LOOKUP(9.999999999999E+307,IF(Q1:Q300<>0,Q1:Q300))

Enter it with Ctrl+Shift+Enter (array formula).
 
Upvote 0
That worked perfectly, thank you so much!

Now, is there any way to use that formula to identify a cell, and copy the value of the cell TO THE RIGHT?

Thank you for your help so far
 
Upvote 0
Hi,

I got it -

=OFFSET(INDEX($Q$4:P100,MATCH(0,$Q$4:P100,0)-1),0,1)

The array formula I couldn't get to work as part of an Offset formula but this works perfectly.

Thanks for your help!
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

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