display last entry in column

smokenack

Active Member
Joined
Dec 12, 2003
Messages
351
I am planning a workbook that will contain two sheets. I want to be able to show in Sheet2 cell A1 the last entry in column A on Sheet1 etc.

thanks for looking

Nick
 
column A is text
column B are dates
column C are names
column D are times
column E are place names as are column F
column G are numbers
column H are text
column I is text

all columns only contain dates, times , numbers or text. They are never mixed.
 
Upvote 0

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Aladin Akyurek said:
smokenack said:
column A is text
column B are dates
column C are names
column D are times
column E are place names as are column F
column G are numbers
column H are text
column I is text

all columns only contain dates, times , numbers or text. They are never mixed.

Define the following names, using Insert|Name|Define...

BigStr as referring to:

=REPT("z",255)

BigNum as referring to:

=9.99999999999999E+307


Then...
Book8
ABCDEF
1TEXTDATELast ValuePos Last Value
2IKF1/5/2005NGJH14
3LLA12/10/2005N-1BMF12
4AOB7/18/2005N-2FNF11
5JGJ10/10/2005
612/18/2005
7MOK7/1/2005
8OAF9/21/2005
94/10/2005
10HNB8/17/2005
11CBB3/11/2005
12FNF4/19/2005
13BMF6/30/2005
14
15GJH
Sheet1


Formulas for the TEXT column...

E2, copied down:

=INDEX($A$2:$A$65536,F2)

F2:

=MATCH(BigStr,$A$2:$A$65536)

F3, copied down:

=MATCH(BigStr,$A$2:INDEX($A$2:$A$65536,F2-1))

For the DATE column, replace BigStr with BigNum.
 
Upvote 0

Forum statistics

Threads
1,216,095
Messages
6,128,794
Members
449,468
Latest member
AGreen17

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