Here is the situation:
I have numerous values in column A in my workbook. I have other numerous values in Column A on another tab. Most of these values can be found on both tabs, however, the information in other columns are different. What I would like to do is Find the matching Value and return either a Hyperlink to the match, or a way to get to it with ease (without using the "Find" Function.
Anyone have any idea's or tips?
Thanks
Last edited by deejabram; 09-13-2010 at 05:38 AM.
Here's a formula that links to a different sheet. It examines cell B2 on the current sheet and searches for an answer on a sheet called Detail in column A. Adjust the formula for your need and put in an empty column next to your values. Then copy down.
=HYPERLINK("#"& "Detail!" & ADDRESS(MATCH($B2, Detail!$A:$A, 0), 1), "Link") 'diff sheet
http://www.excelforum.com/excel-gene...ab-to-tab.html
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
“None of us is as good as all of us” - Ray Kroc
“Actually, I *am* a rocket scientist.” - JB (little ones count!)
Like this:
=HYPERLINK("[C:\<path>\Book2.xls]Sheet1!"&ADDRESS(MATCH(A3,[Book2.xls]Sheet1!$A:$A,0),1),"link")
(You don't need the full path for the match if the other book is open, but you do need it for the hyperlink)
hth
CC
If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.
1. I didn't read the OP properly
2. I didn't know you could do that:
"#"="[book.xls]"
(although why "#" & "Sheet"?)
kudos
CC
If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.
I wish I understood "why" the # is needed, but it's the part that makes the other sheet reference work as a hyperlink. Without it, the formula doesn't work. With it, it works and I can even copy down to get constantly working links.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
“None of us is as good as all of us” - Ray Kroc
“Actually, I *am* a rocket scientist.” - JB (little ones count!)
Heh - read mine again - "#" = "[book.xls]"
So, within a workbook:
=hyperlink("sheet1!A1")
doesn't work
=hyperlink("[book1]sheet1!A1")
does work
=hyperlink("#sheet1!A1")
also works
That's what I meant by "#" = "[book.xls]"
Similarly, between books:
=hyperlink("[book1]sheet1!A1")
doesn't work
=hyperlink("C:etc.etc.[book1]sheet1!A1")
does work
=hyperlink("#[book1]sheet1!A1")
So the # seems to me like shorthand for 'in this workbook/in this folder'
Have I cracked it?
so the only one I haven't looked at is within sheet:
=hyperlink("A1")
doesn't work
=hyperlink("sheet1!A1")
doesn't work
=hyperlink("[book1]sheet1!A1")
does work (but this is as per within book but between sheets)
=hyperlink("#A1")
does work
So that doesn't quite follow the same logic - it would seem
My question:
(although why "#" & "Sheet"?)
I basically meant:
"#" & "sheet"
=
"#sheet"
That's all!
EDIT:
relative reference - that's the expression I was searching for when I wrote: 'in this workbook/in this folder' tip of my tongue it was! Cheers DO
Last edited by Cheeky Charlie; 09-04-2010 at 06:47 PM. Reason: third scenario + EDIT2
CC
If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.
# is as CC states a relative reference for the Hyperlink - though I confess I didn't realise it was relative to the highest level (ie folder - interesting)
Last edited by DonkeyOte; 09-04-2010 at 06:42 PM. Reason: clarifying highest level point
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Thanks for the help. I will give this a try today and let you all know how it worked out.
I am a bit confused. I am trying to link up to a value in the same workbook, not a different workbook.
When I use the formula given above it show's "link" but the link doesnt work. I have tried multiple combinations of the formula's listed above. Obviously I am doing something wrong...
Upload an example and we can write the exact formula for you, then you can work out what was missing.
CC
If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.
EXAMPLE.xls
Thanks so much for the help. The example is a template of what I am trying to do. I would send the original, but am working with sensitive information. However, the template catches the main idea.
Ummm, your formula works for me! Is this the problem:
http://support.microsoft.com/kb/829072
(if so follow instructions there)
CC
If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.
That isnt a formula. That is a simple Hyperlink manually entered using the "Find" function. I was hoping for a formula which would produce the same results without having to manually find every entery.
(=
In B2, then copied down:
=HYPERLINK("#"& "Details!" & ADDRESS(MATCH($A2, Details!$A:$A, 0), 1), "Link")
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
“None of us is as good as all of us” - Ray Kroc
“Actually, I *am* a rocket scientist.” - JB (little ones count!)
Oh yeah, gotcha, lol.
Based on above chat:
=HYPERLINK("#"& "Details!" & ADDRESS(MATCH($A2, Details!$A:$A, 0), 1), "Link")
=
=HYPERLINK("#Details!" & ADDRESS(MATCH($A2, Details!$A:$A, 0), 1), "Link")
CC
If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks