# Find last 'non-blank' cell??!!

#### slym34

##### Board Regular
hey all.. I have a list of #'s starting from 1, and the next cell down adds 1 to that.. based on some other info, it will either add 1 or come out blank.. i want to be able to have cell A1 point out which is the last cell that has a number and is not blank.. does this make sense???

Here is the formula in this column..
In this sheet cell L284 has the same formula in it as cell L283, however because R283 is blank it also comes out blank...

Here is a copy of the sheet.. I want cell A1 to equal 282 in this example...

### Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

#### pgc01

##### MrExcel MVP
Hi slym34

Not sure I understan correctly but it seems you want the biggest value in column L:

=MAX(L:L)

Hope this helps
PGC

#### Dylan

##### Board Regular
Hi, you can use MAX to show the largest number in column A.
In cell A1 = Max(L:L).

#### jindon

##### MrExcel MVP
Hi, you can use MAX to show the largest number in column A.
In cell A1 = Max(A:A).
You'll get a circular reference.

#### slym34

##### Board Regular

Hi, you can use MAX to show the largest number in column A.
In cell A1 = Max(L:L).

PERFECT!!! Thanks!

John

#### Gates Is Antichrist

##### Well-known Member
MAX works for the column L you showed. For completeness, to answer your stated quest of getting the last numeric cell in a range, a thorough discussion is here . Note that the comments are as important as the article itself.

The upshot: either use a simple UDF (tushar's recommendation), or longstanding quirk of VLOOKUP(...TRUE).

#### slym34

##### Board Regular

great info.. thanks!

#### Scott Huish

##### MrExcel MVP
BTW, you really should use "" to return blank in a cell, rather than a space " "

##### MrExcel MVP
=LOOKUP(9.99999999999999E+307,L:L)

#### Gates Is Antichrist

##### Well-known Member
Ooooh - I'm telling tushar!

Replies
6
Views
118
Replies
4
Views
335
Replies
6
Views
84
Replies
3
Views
1K
Replies
4
Views
419

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,163,879
Messages
5,834,217
Members
430,264
Latest member
ddeboor

### 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.

### Which adblocker are you using?

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

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