Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Hyperlink to another sheet within a workbook using formula

Hey Guys,

Thanks in Advance for your help on this one.

I've got a list about 1500 records long that I want to hyperlink to matching
records on the following page sheet. There are too many to right click and
use the hyperlink tool.

I.E. Customer A on sheet "Total Sales" needs to hyperlink to Customer A on
sheet "By Product".

I tried the following function

=MID(CELL("filename",'By Product'!$A$1),FIND("[",CELL("filename",'By
Product'!$A$1)),256)&"!"

as named formula Psheet2 in the following formula, nested in a hyperlink
formula.

=HYPERLINK(WBsheet2 & ADDRESS(MATCH(B17,'By Product'!B:B,0),(MATCH(B17,'By
Product'!B:B,0))))

where B17 is the location of the customer name, and column B in By Product
contains the matching Customer name

I didn't enter a friendly name at the end, but I dont think that should
matter.

When I try this I get an error message: Reference Not Valid. I think it has
something to do with the fact that both match functions return the same
coordinates, but I'm not sure what should go in there.

Thee other thing I tried was using a match function to find the row number
of the matching customer, (I know the column is B) and then add that into a
hyperlink function, like so...

=HYPERLINK('By Product'!B112)

When I do that, it returns a hyperlink with the name of the proper customer,
but when I open the link, I get an error message, "Cannot open the specified
file.

I tried to add the file name with the original named formula, , and got
something like this...

=HYPERLINK(MID(CELL("filename",'By Product'!$A$1),FIND("[",CELL("filename",
'By Product'!$A$1)),256)&"!"&"J45")

with the cell I want to link to typed in J45 (i.e. B101 is in J 45)


but I keep getting reference is not valid messages.

Any Ideas?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Hyperlink to another sheet within a workbook using formula

One play which should deliver this ..

In Total Sales,
Assuming cust names listed in A2 down

Place in B2:
=IF(A2="","",IF(ISNA(MATCH(A2,'By
Product'!B:B,0)),"",HYPERLINK("#"&CELL("address",I NDIRECT("'By
Product'!B"&MATCH(A2,'By Product'!B:B,0))),A2)))
Copy down. The above creates hyperlinks in col B which jumps to the matched
name in By Product's col B.

Above is illustrated in this sample:
http://www.flypicture.com/download/MzYzNjA=
Hyperlink matching record in another sht.xls
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Christopher Watson" wrote in message
. ..
Hey Guys,

Thanks in Advance for your help on this one.

I've got a list about 1500 records long that I want to hyperlink to
matching
records on the following page sheet. There are too many to right click and
use the hyperlink tool.

I.E. Customer A on sheet "Total Sales" needs to hyperlink to Customer A
on
sheet "By Product".

I tried the following function

=MID(CELL("filename",'By Product'!$A$1),FIND("[",CELL("filename",'By
Product'!$A$1)),256)&"!"

as named formula Psheet2 in the following formula, nested in a hyperlink
formula.

=HYPERLINK(WBsheet2 & ADDRESS(MATCH(B17,'By Product'!B:B,0),(MATCH(B17,'By
Product'!B:B,0))))

where B17 is the location of the customer name, and column B in By Product
contains the matching Customer name

I didn't enter a friendly name at the end, but I dont think that should
matter.

When I try this I get an error message: Reference Not Valid. I think it
has
something to do with the fact that both match functions return the same
coordinates, but I'm not sure what should go in there.

Thee other thing I tried was using a match function to find the row number
of the matching customer, (I know the column is B) and then add that into
a
hyperlink function, like so...

=HYPERLINK('By Product'!B112)

When I do that, it returns a hyperlink with the name of the proper
customer,
but when I open the link, I get an error message, "Cannot open the
specified
file.

I tried to add the file name with the original named formula, , and got
something like this...

=HYPERLINK(MID(CELL("filename",'By
Product'!$A$1),FIND("[",CELL("filename",
'By Product'!$A$1)),256)&"!"&"J45")

with the cell I want to link to typed in J45 (i.e. B101 is in J 45)


but I keep getting reference is not valid messages.

Any Ideas?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use a hyperlink to display a selection of cells on another sheet (in same workbook) Mikey C Excel Discussion (Misc queries) 1 March 29th 07 11:44 AM
Hyperlink to another sheet, same workbook Dgwood90 Excel Discussion (Misc queries) 2 February 9th 07 04:49 PM
hyperlink tospecific sheet of html workbook dejaveu93 Excel Worksheet Functions 0 June 29th 06 04:13 PM
hyperlink to sheet in workbook saved as html Y Sbuty Excel Discussion (Misc queries) 0 March 26th 06 11:54 PM
Hyperlink to specific sheet; workbook saved as html Bawn Excel Worksheet Functions 0 January 5th 05 01:31 PM


All times are GMT +1. The time now is 07:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"