Teams and Mobile breaks my HYPERLINK formula

Christopher Thompson 20 Reputation points
2026-06-23T11:42:48.5533333+00:00

I have a formula in my table that takes one cell, and formats it into a clickable URL.

User's image

Here is the formula in that URL column:

=HYPERLINK("https://jira.``[Moderator note: Personally Identifiable Information removed]``.com/issues/?jql=key in ("&ENCODEURL([@[ESPS-Key]])&")","Jira Link")

"ESPS-Key" is the name of the 2nd column in this table.

In row 154, you can see a #VALUE! error. This only happens when someone opens this sheet in Teams OR the ios app.
In row 153, that formula shows the right value and the link works. That's because I hit F2 and Enter to rewrite the cell. I don't want to spam F2 and enter for 30 min fixing this all the time. (Can AI hit the button for me 400 times? lol)

I can probably protect the column, but that's a pain. Is there a simpler fix? Is my formula malformed, but Excel Desktop just deals with it better?

Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments

Answer accepted by question author
Anonymous
2026-06-23T13:24:52.47+00:00

Hi @Christopher Thompson,

Thank you for taking the time to share what you’ve observed. I really appreciate the level of detail, and I hope the explanation below helps make things a bit clearer.

This isn’t actually a malformed formula. The root of the issue is that the ENCODEURL function isn’t supported in Excel for the web or the mobile/iOS clients (since they rely on the same web-based calculation engine). Because of that limitation, those platforms can intermittently return a #VALUE! error in your HYPERLINK column, while Excel Desktop continues to handle it just fine.

When you press F2 and then Enter on Desktop, Excel recalculates that cell and saves the result as a cached value in the file. Excel for the web or Teams often just displays this cached value and only recalculates cells it considers “dirty.” In your case, row 154 gets recalculated in the web environment, so ENCODEURL runs again and fails, resulting in the error. Meanwhile, row 153 still holds the cached value from Desktop, which is why it appears to work correctly. This is also the reason you find yourself repeatedly pressing F2 and Enter, you’re essentially temporarily freezing a valid result, rather than addressing the underlying compatibility issue.

A more stable approach would be to adjust the formula to avoid using ENCODEURL altogether. For example:

=HYPERLINK("https://jira.xxx.com/issues/?jql=key in(" & TRIM(SUBSTITUTE(SUBSTITUTE([@[ESPS-Key]],CHAR(13)," "),CHAR(10)," "))& ")","Jira Link")

User's image

In this version, TRIM and SUBSTITUTE are fully supported across Excel Desktop, Teams (Excel for the web), and mobile, so you won’t run into the same compatibility issue.

Hopefully this gives you a clearer picture of what’s happening behind the scenes and saves you from having to “spam F2” going forward!!

If the adjusted formula doesn’t quite match your data or you notice anything else unusual, please leave a comment under this post. This is the best way for me to receive notifications and follow up with you promptly. 

Appreciate you sharing findings, and thanks again for your patience with this one!


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.  

Was this answer helpful?

2 people found this answer helpful.

0 additional answers

Sort by: Newest

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.