Formula Help - Last Value

ststern45

Well-known Member
Joined
Sep 17, 2005
Messages
961
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Good day everyone,

I'm looking for a formula that will display the last value (bottom of the cell range) that appears in a range that is the column value.

The values are 0,1,2,3,4,5,6,7,8,9

Values will contain duplicates from 0 through 9 in cell range A1 through last cell containing a value (0 through 9)

For example:

A1 = 9
A2 = 3
A3 = 0
A4 = 2
A5 = 6
A6 = 1
A7 = 4
A8 = 5
A9 = 7
A10 = 8
A11 = 3
A12 = 3
A13 = 5

So in the example above:
B1 = 0
B2 = 1
B3 = 2
B4 = 3
B5 = 4
B6 = 5
B7 = 6
B8 = 7
B9 = 8
B10 = 9

C1 (0) formula = A3 or 3
C2 (1) formula = A6 or 6
C3 (2) formula = A4 or 4
Etc., Etc.

Thank you in advance
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
How about
+Fluff 1.xlsm
ABC
1903
2316
3024
42312
5647
61513
7465
8579
97810
10891
113
123
135
Main
Cell Formulas
RangeFormula
C1:C10C1=LOOKUP(2,1/($A$1:$A$13=B1),ROW($A$1:$A$13))
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,992
Messages
6,122,631
Members
449,095
Latest member
bsb1122

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