Hyperlink cell based on value

hgbegdhegdh

New Member
I am having a sheet in which I want to hyperlink a cell such that it finds text mentioned in formula and moves cursor there

For this I am using below formula
=HYPERLINK("#ToDo!A" & MATCH("promc1",A:A,0), "display text")

Above formula is entered in cell A53

Todo is sheet name in the same worksheet
promc1 is the text which need to be find
dislplay text is the text should be visible in A53

What is perfect: When i click link on A53, it will find promc1 in A and wherever it finds promc1 it will take the cursor there.

Problem is: instead of "display text" in A53 it shows zero

Attached screenshots

I am using MS Office 10 in windows 10

Please help in solving this

screenshot at below link
https://my.pcloud.com/publink/show?code=XZSn94kZDUP9V6pN0LbUHNrn89Oj5kjXBVKy


Also posted here
https://www.excelforum.com/excel-formulas-and-functions/1293313-hyperlink-cell-based-on-value.html#post5211705

 
Last edited by a moderator:

Fluff

MrExcel MVP, Moderator
Try moving the formula to another column, maybe B53.
With the formula in col A you will get a circular reference, which is probably causing the problem.
 

Some videos you may like

This Week's Hot Topics

  • Get External Data (long shot question!)
    This is likely a long shot but I am wondering if it is at all possible for Excel to somehow 'change' the contents of a URL that is being linked to...
  • Importing multiple excel files into one spreadsheet
    Hi, I'm trying to import multiple excel files (with the same format into a single spreadsheet) so that each day's file is listed underneath the...
  • Cell Formatting
    Good Morning, I need to format a few different cells in the following manners: A1 has to always add a colon (:) after whatever is typed in by a...
  • How to copy multiple rows using If
    Hi all, I'm very new to VBA and have written this simple code to copy certain cells if a certain cell within that row contains any data. I need...
  • Workbook_Change stopped working !
    I am working on an app to speed up & automate processing of Credit Cards statements. After data is input from a CSV file, it is presented to the...
  • VBA If statement
    Dear All, I have two dates, where I'd like a message box to pop, if the dates are between this criteria. [CODE] sDate1 = #10/1/2019#...
Top