Select the highest cell, but cell could be the lowest value or the highest

Jaffabfc

Board Regular
Joined
Jul 5, 2013
Messages
230
Office Version
  1. 365
Platform
  1. Windows
Morning,

I am wanting to select a cell in a column, for example

B2=10
B3=
B4=
B5= 400
B6= 2
B7=
B8=6

So even though B6 is the lowest range and B5 is the highest i would like to pull whatever is in cell B8.

These cells are forever expanding so how can i do this?

I am pulling this information from another spreadsheet which i can not edit so i can not put something in column A or C to make it easier, i can not sort it either.

thanks
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
So , if you mean that you want the last cell's value by formula you can use the following formula

=INDEX(B2:B8,ROWS($B$2:B8))

if you need last nonempty cell's value , you can use following

=INDEX(B:B,MAX(IF((B:B)<>"",ROW(B:B),"")))

Both formulas are array one and you need to Press Ctrl+Shift+Enter and not only enter


If this is not what you want , you can elaborate your requirement further.


Thanks
Swapnil Shah
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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