How to encode a hyperlink in CSV formatted file?

gep picture gep · Sep 27, 2011 · Viewed 54.3k times · Source

When I try to encode a HTML anchor link in CSV file cell it becomes corrupted and not readable by Excel.

Is there some sort of non-HTML solution or format to encode a hyperlink in CSV file cell?

Answer

stuartdotnet picture stuartdotnet · May 25, 2012

For when automagicalism doesn't work, and you're definitely using Excel, use this as the field content.

=HYPERLINK("http://stackoverflow.com")