Last Value and Row in a Column

jay333

New Member
Joined
Nov 5, 2010
Messages
17
I need a formula that provides the value in Column 'A' at Row 'X' where 'X' is the last row for which there is data in Column 'B'. In the below example this would mean - for the last row in Col 'B' that has a value what is the value in Col 'A'. In this case the result would be 'Apr'. I have a formula which finds the last value in Col 'B' which I do need (ie. 75), however, I now need a formula that provides the corresponding month (ie. Apr). Any suggestions? Thank you in advance.
Col 'A'</SPAN>Col 'B'</SPAN>
Jan</SPAN>100</SPAN>
Feb</SPAN>95</SPAN>
Mar</SPAN>100</SPAN>
Apr</SPAN>75</SPAN>
May</SPAN>
Jun</SPAN>
Jul</SPAN>

<TBODY>
</TBODY><COLGROUP><COL span=2></COLGROUP>
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
See if this works for you:

Sheet2
AB
1Jan100
2Feb95
3Mar100
4Apr75
5May
6Jun
7Jul
8
9
10
11Apr
12
13
14------------------------
15

<thead>
</thead><tbody>
</tbody>
Excel 2010

Worksheet Formulas
CellFormula
A11=OFFSET(A1,COUNT(B1:B7)-1,0)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
Given this formula a try...

=INDEX(A:A,SUMPRODUCT(MAX(ROW(B$1:B$65535)*(B$1:B$65535<>""))))
 
Upvote 0
I need a formula that provides the value in Column 'A' at Row 'X' where 'X' is the last row for which there is data in Column 'B'. In the below example this would mean - for the last row in Col 'B' that has a value what is the value in Col 'A'. In this case the result would be 'Apr'. I have a formula which finds the last value in Col 'B' which I do need (ie. 75), however, I now need a formula that provides the corresponding month (ie. Apr). Any suggestions? Thank you in advance.
Col 'A'</SPAN>
Col 'B'</SPAN>
Jan</SPAN>
100</SPAN>
Feb</SPAN>
95</SPAN>
Mar</SPAN>
100</SPAN>
Apr</SPAN>
75</SPAN>
May</SPAN>
Jun</SPAN>
Jul</SPAN>

<TBODY>
</TBODY>
Here's another one...

=LOOKUP(1E100,B:B,A:A)
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,858
Members
449,051
Latest member
excelquestion515

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