Share via

hyperlink to cell on same sheet errors cannot access file - using excel 365 on mac

Anonymous
2025-03-24T12:15:15+00:00

On Excel 365 spreadsheet hyperlink to cell on same sheet errors "cannot open the specified file

=HYPERLINK(MATCH(Sheet1!$A12,$C:$C),"K")

Microsoft 365 and Office | Excel | Other | MacOS

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

HansV 462.6K Reputation points
2025-03-24T15:44:25+00:00

MATCH(Sheet1!$A12,$C:$C) returns an index number such as 37 or 5. That is not a valid hyperlink target.

If you want to link to the first cell in column C that has the same value as Sheet1!$C12, you can use

=HYPERLINK("#C"&XMATCH(Sheet1!$A12, $C:$C), "K")

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2025-03-25T00:57:00+00:00

    thank you so much. I totally missed that. It works perfect.

    Was this answer helpful?

    0 comments No comments