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

Jaffabfc

Board Regular
Joined
Jul 5, 2013
Messages
196
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

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
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,216,073
Messages
6,128,645
Members
449,461
Latest member
kokoanutt

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