Combine 2 cells Info when 1 cell is a Link

hetterbr

Board Regular
Joined
Jul 8, 2011
Messages
56
I am trying to combine Text information from one cell with another cell that happens to have a link to a file.

I can combine the 2 cells, but I can't seem to keep one as a link to a file.

Here is what I did to combine the 2 cells.

=A1&" "&B1

This is where A1 is text and B1 is a link to a file.

The above combines the cells, but makes them both text. How do I keep one as a link to a file.
Thanks
Brent
 
Last edited:

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
You can't make one bit a link and another not a link, you can however use the link and the combined values as a link

=HYPERLINK(A1, A1&" "&B1)
 
Upvote 0
Ok, I understand what you are doing here. I tried it, but I get an error message telling that it can't open the file. Here is my formula:

=HYPERLINK(Sheet1!E2, Sheet1!E2&" "&Sheet2!E2)


so, (sheet1!E2) is my text. And (Sheet2!E2) is the Hyperlink.

If I click on the Hyperlink in (Sheet2!E2) it works, but somehow not using the above formula
 
Upvote 0
That would be

=HYPERLINK(Sheet2!E2, Sheet1!E2&" "&Sheet2!E2)

=HYPERLINK(Location, Friendly Name)

;)
 
Upvote 0

Forum statistics

Threads
1,214,792
Messages
6,121,612
Members
449,039
Latest member
Mbone Mathonsi

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top