Hyperlink Using MATCH

lms

New Member
Joined
Jun 15, 2011
Messages
2
All I want to do is hyperlink to a cell in the same sheet as the hyperlink equation based on the output of the MATCH function. My equation is this: =HYPERLINK(MATCH("B", A:A, 0), "Phase B"). When I just type in the match function it returns the correct row, but with the hyperlink it takes me to cell A1. I've also tried variations of =HYPERLINK("Test Procedures!A"&MATCH("B",A:A, 0), "Phase B") but it won't even accept that when I hit Enter.

I DON'T GET IT!! I'm pretty good with macros and other functions, but I've never tried this before and just can't get it to work.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
=HYPERLINK("[Book1.xlsx]A"&MATCH("B",A:A,0), "Phase B")
Change Book1.xlsx to the name of your file
 
Upvote 0
That's really the only way to do it? The name of this file is changing daily (config control for the group using it, we're appending it with the date). Is there any way to make that link update when you save as? Changing all those links each time almost makes the hyperlink convenience not worth it...

(Thanks for the quick reply though, I appreciate it)
 
Upvote 0
You could enter the filename into a cell and then refer to that using INDIRECT. Then use a worksheet change event to update the cell containing the filename every time the file is saved.
I'll post back later with an example.
 
Upvote 0

Forum statistics

Threads
1,224,551
Messages
6,179,476
Members
452,915
Latest member
hannnahheileen

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