Find lowest value in range with link

pujo

Well-known Member
Joined
Feb 19, 2009
Messages
710
Office Version
  1. 2019
  2. 2013
Platform
  1. Windows
Good day peeps!
I have a simple formula in cell K2 that will find the lowest value in the range.
VBA Code:
=MIN(IF(ISNUMBER(K7:K8647),K7:K8647,""))

There is a lot of rows to scroll down to get to this cell (K5460) and view the inline data.

Is there any way possible to make cell K2 a link to the lowest value cell in the range, dynamically?
Data is different from day to day.

Cheers!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
How about a helper column:

Excel Formula:
=IF(K7=$K$2,"Lowest value","")

Then you can filter this column for "Lowest value".
 
Upvote 0
Try this formula in K2

Excel Formula:
=HYPERLINK(SUBSTITUTE(TRIM(RIGHT(SUBSTITUTE(CELL("filename",K2),"\",REPT(" ",100)),100)),"]","]'")&"'!K"&6+MATCH(MIN(K7:K8647),K7:K8647,0),MIN(K7:K8647))
 
Upvote 0
Solution
Thanks gentlemen, much appreciated.

I attempted to do something like this however, the solution Peter posted worked perfectly and no need for vba.

Excel Formula:
K2 =ADDRESS(MIN(IF(ISNUMBER(K7:K8647),K7:K8647,"")),8)

Since my calculations are set to manual, in the calculation sub-routine I had this.

Code:
With Sheets("Sheet1")
    .Range("K3").Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:=Sheets("Sheet1").Range("K2").Value
End With
 
Upvote 0
You're welcome. Glad to help. :)
@Peter_SSs
This morning after polling the new data, the formula no longer works.
The range has increased from K7:K8647 to K7:K1048576 and have changed the formula to reflect the range.
After changing, the formula, the result is #N/A

Is it possible to add the argument IF ISNUMBER as well as capture the entire column?

ISNUMBER to count for the polling interval where there is "NO DATA", and the entire column as the range is dynamic in size.

Cheers!
 
Upvote 0
  • I would definitely try to avoid using whole column references. Surely you don't have anything like a million rows?
  • Please post the actual formula that you now have.
  • What does your original formula return with the new data and that massive range?
    Excel Formula:
    =MIN(IF(ISNUMBER(K7:K1048576),K7:K1048576,""))
  • ISNUMBER to count for the polling interval where there is "NO DATA", and the entire column as the range is dynamic in size.
    I don't know what that means
 
Upvote 0
  • I would definitely try to avoid using whole column references. Surely you don't have anything like a million rows?
  • Please post the actual formula that you now have.
  • What does your original formula return with the new data and that massive range?
    Excel Formula:
    =MIN(IF(ISNUMBER(K7:K1048576),K7:K1048576,""))

  • I don't know what that means
I am going to put together some test data and use BBCode top post it.
 
Upvote 0

Forum statistics

Threads
1,224,830
Messages
6,181,225
Members
453,025
Latest member
Hannah_Pham93

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