I have text in cell A8
and a hyperlink in cell B8
.
A8
contains Text
B8
contains a Proper Hyperlink with the name HyperName
(and URL).
I want to concat the two cells in cell C8
with a hyphen between the two components and have a hyperlink to the right of the hyphen.
When I try this, the two cells are combined, but the hyperlink disappears.
CONCAT(A8, " - ", B8)
- this does not work.
To work around this:
- I copy the two cells and paste into MS Word.
- I then in MS word convert the two cell table into text.
This looks great - the hyperlink is working, and the text to the left of the hyphen is not hyperlinked.
- I then paste that back into a cell in Excel
The cell C8
now has Text - HyperName
where only HyperName
has a link to the URL.
How do I do this totally within Excel?