Excel Link To First Match

[Solved] Excel Link To First Match | Vb - Code Explorer | yomemimo.com
Question : excel link to first match

Answered by : charlesalexandre-roy

# Basic syntax:
=HYPERLINK(CELL("address", INDEX(B:B, MATCH(A1, B:B, 0))), "Link_name")
# Where this will create a link called "Link_name" to the first cell in column
#	B that matches the text in cell A1.
# Note, this approach avoids the issue of having all hyperlink references
#	"broken" when you add a row or column because CELL returns the correct
#	cell address to the HYPERLINK function
# Note, unlike the source I link to, I needed to remove the "#"& in front of
#	the CELL function to get this to work.

Source : https://exceljet.net/formula/hyperlink-to-first-match | Last Update : Thu, 19 May 22

Answers related to excel link to first match

Code Explorer Popular Question For Vb