last item in a column

Caius

New Member
Joined
Apr 14, 2004
Messages
10
Hi there, it's me again, Excel n00b.

Just wondering if there's a formula for retrieving the last item in a column and then storing that value into another cell?

:p
 
GorD said:
Aladin, how would you tackle this if data contains blanks - any different?

The formulas I posted are not affected by empty cells, cells housing error values or logical values or text. They will simply give the last numeric value and second last numeric value. Did I miss something regarding the original post?
 
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
I have had a play and still can't get this to work. i amusing the trial data

4
6

7
8
5


2
4

8

I can get the formula to return the last numeric cell, but can't get the second formula to work, if the cell above is blank. If I fill in a value immediately above the last entry it works. Any ideas what I am doing wrong
 
Upvote 0
GorD said:
I have had a play and still can't get this to work. i amusing the trial data

4
6

7
8
5


2
4

8

I can get the formula to return the last numeric cell, but can't get the second formula to work, if the cell above is blank. If I fill in a value immediately above the last entry it works. Any ideas what I am doing wrong

You're not doing anything wrong. I see why you had touble with the second formula. That formula is incomplete...
Book1
ABCD
148
264
3
47
58
65
7
8
92
104
11
128
13
Sheet1


C1:

=LOOKUP(BigNum,A1:A12)

C2:

=LOOKUP(BigNum,$A$1:INDEX(A:A,MATCH(BigNum,A:A)-1))

The bolded part is missing in my initial post.
 
Upvote 0
Ah, thanks for that, I knew it would be a fairly simple fix and better than my effort using offset.
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,331
Members
449,077
Latest member
jmsotelo

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