Last item in column

Metal

New Member
Joined
Sep 22, 2002
Messages
2
This looks like it should be really easy - but I can't do it.

Say Column A has rows of data (which may be text or numeric). Is there a formula to return the value in the last row of column A(whichever that may be)?

Preferably a formula rather than VBA!

Many thanks!!
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
( 1.) Activate Insert|Name|Define.
( 2.) Enter BigNum as name in the Names in Workbook box.
( 3.) Enter the following in the Refers to box:

9.99999999999999E+307

( 4.) Click OK.

If col A is of numeric type, use:

=LOOKUP(BigNum,A:A)

If col A is of type text, use:

=INDEX(A:A,MATCH(REPT("z",90),A:A))

If col A is of type mixed, use:

=INDEX(A:A,MAX(MATCH(BigNum,A:A),MATCH(REPT("z",90),A:A)))
 

Metal

New Member
Joined
Sep 22, 2002
Messages
2
Aladin

I've absolutely NO idea where that name range comes from (or how the formulae work with it) but that all worked perfectly.

Thanks v much!!
 

Forum statistics

Threads
1,181,241
Messages
5,928,835
Members
436,632
Latest member
DrCSdeLange

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
Top