Last value in a row greater than zero

redbullsean

New Member
Joined
Oct 3, 2014
Messages
3
Hello,
I have a data set that I need to get the last value in the row that is greater than zero. It seems so simple however I am having trouble and can't seem to get it.


Please help
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Hello,
I have a data set that I need to get the last value in the row that is greater than zero. It seems so simple however I am having trouble and can't seem to get it.
Try this formula...

=LOOKUP(9.9999999999E+307,C1:K1)

where you would change the C1:K1 to whatever overall range your numbers could possibly be in.
 
Upvote 0
I think that will find the last value in the row but necessarily greater than zero

=LOOKUP(9.9999999999E+307,C1:K1)



Excel 2010
IJKLMNO
1-104-9-3105-10
2
35
jameeee
Cell Formulas
RangeFormula
I3=LOOKUP(2,1/(I1:O1>0),I1:O1)

 
Upvote 0
Try this formula...

=LOOKUP(9.9999999999E+307,C1:K1)

where you would change the C1:K1 to whatever overall range your numbers could possibly be in.

Ignore this message... I just noticed you asked for values greater than 0 (use the formula Momentman posted in Message #3 instead).
 
Upvote 0

Forum statistics

Threads
1,214,952
Messages
6,122,458
Members
449,085
Latest member
ExcelError

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