Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-06-2017, 09:06 AM
Harleygal17 Harleygal17 is offline Add external hyperlink to a calculated number Windows 10 Add external hyperlink to a calculated number Office 2016
Novice
Add external hyperlink to a calculated number
 
Join Date: Apr 2017
Posts: 3
Harleygal17 is on a distinguished road
Question Add external hyperlink to a calculated number

I am trying to add a hyperlink (any hyperlink external to data on the spreadsheet) in a cell that has a formula for a calculated number. For instance, something as simple as =B4*C4. When the number is displayed I want to be able to add a hyperlink to some external content so the user can look at the details from another system.



For purposes of my example, if the calculated number is "5" (formatted as number), I want it (5) to appear as a hyperlink and take me to: https://www.msofficeforums.com.

I've tried a few simple things and searched the web but haven't found anything that seemed applicable. Any ideas from anyone?

FYI: I am using Excel 2016.

Last edited by Harleygal17; 04-06-2017 at 09:08 AM. Reason: Added Excel version.
Reply With Quote
  #2  
Old 04-06-2017, 09:39 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Add external hyperlink to a calculated number Windows 7 64bit Add external hyperlink to a calculated number Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Perhaps create a small table with the numbers in the first column and in the second column the hyperlink as text
Say this table is T1:U10
Then in your cell with calculated number enter =hyperlink(vlookup(B4*C4,T1;U10;2;0))
(B4*C4 is the formula you showed, any formula should work)
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 04-06-2017, 11:17 AM
Harleygal17 Harleygal17 is offline Add external hyperlink to a calculated number Windows 10 Add external hyperlink to a calculated number Office 2016
Novice
Add external hyperlink to a calculated number
 
Join Date: Apr 2017
Posts: 3
Harleygal17 is on a distinguished road
Default

Thanks for getting me pointed in the proper direction. Although the formula wasn't exactly what I was looking for, it got me going in the correct direction and I was able to figure it out from there.

The formula I ended up using that worked is: =hyperlink(vlookup(A2,F1:G5,2,0)),B2*C2)

Here is the data in my spreadsheet that corresponds to the formula:
Calc'd Number with Hyperlink.PNG

Thanks again for the help! I'm not a novice at Excel but I'm also not a "power" user. I fall somewhere in the mediocre middle.

Last edited by Harleygal17; 04-06-2017 at 11:18 AM. Reason: fixed type now=not
Reply With Quote
  #4  
Old 04-06-2017, 11:44 AM
Harleygal17 Harleygal17 is offline Add external hyperlink to a calculated number Windows 10 Add external hyperlink to a calculated number Office 2016
Novice
Add external hyperlink to a calculated number
 
Join Date: Apr 2017
Posts: 3
Harleygal17 is on a distinguished road
Thumbs up

This formula also worked by basically "hard-coding" the URL rather than using VLOOKUP. Either way could work based on the need(s).

Calcd Number w Hyperlink.PNG

Next hurdle is getting it to work in our Confluence spreadsheet add-on.
Thanks again.
Reply With Quote
  #5  
Old 04-06-2017, 11:38 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Add external hyperlink to a calculated number Windows 7 64bit Add external hyperlink to a calculated number Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Glad you found your answer. Please mark the thread solved ( click the "Thread tools" drop down)
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add external hyperlink to a calculated number Round num_digits calculated? gebobs Excel 1 08-03-2016 03:10 PM
how to update calculated fields sectionbreak Mail Merge 4 06-04-2014 12:12 AM
Add external hyperlink to a calculated number Calculated Field is disabled MariaAdc Excel 1 03-01-2011 02:44 AM
Add external hyperlink to a calculated number Calculated dates. Ziggy-R Word 10 09-28-2010 01:42 AM
Using calculated field - WHY IS IT SO COMPLICATED? Riorin Word 0 10-30-2009 12:20 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft