Using a cell value to form part of a hyperlink

techstoredirect

New Member
Joined
Jul 10, 2021
Messages
2
Office Version
  1. 2019
Platform
  1. Windows
I'd like to set up a formula which takes number value in a cell and inserts that value into a hyperlink.

For example, I have a column of order numbers:

A B
1 678678 https://www.onlineshop/my-account/order/678678#
2 678679 https://www.onlineshop/my-account/order/678679#
etc.

I want the formula to reference this number and use it to form part of a hyperlink e.g. https://www.onlineshop/my-account/order/678678# that is displayed in a different cell.

Is this possible and could someone please reply with a sample formula.

Thanks.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hi Techstoredirect,

Like this?

Book1
AB
1
2678678Order 678678
3678679Order 678679
4
Sheet1
Cell Formulas
RangeFormula
B2:B3B2=HYPERLINK("https://www.onlineshop/my-account/order/"&A2&"#","Order "&A2)
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,394
Members
448,957
Latest member
Hat4Life

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