Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / May 2008

Tip: Looking for answers? Try searching our database.

HYPERLINK, MATCH functions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
F. Lawrence Kulchar - 14 May 2008 03:48 GMT
A                            B                                      
    C
1 Walla Walla    =MATCH(A1&"*",Sheet1!A1:A1077,0)
                                                                         
=HYPERLINK("#sheet1!A"&B1,"GO TO")    

               
Obiouosly, my hyperlink in cell C1 sends me to ColumnA570, because cell B1
has 570 embossed in it...because Walla Walla appears in Sheet1, column A, row
570!

QUESTION:  HOW CAN I ALSO SEARCH  "Walla Walla" in Sheet 1 , column E as
well as in colum A (as is presently the case)?

I don't wish to use 2 MATCH and HYPERLINK functions -- but, I wish to
combine the 2 functions something like:

                  =MATCH(A1&"*", OR(Sheet1!A1:A1077,Sheet1!E1:E1077),0)

followed by;                  
                             
=HYPERLINK(OR(("#sheet1!A"&B1,"#sheet1!E"&B1),"GO TO")

Thamks:

FLKulchar

PS: My method, just described above does NOT work!!!!!!!!!!!!!!
T. Valko - 14 May 2008 05:41 GMT
I'm assuming that the lookup value *does* exist in one range or the other so
there's no error checking.

B1:

=MATCH(A1&"*",IF(COUNTIF(Sheet1!A1:A1077,A1&"*"),Sheet1!A1:A1077,Sheet1!E1:E1077),0)

C1:

=HYPERLINK("#sheet1!"&IF(COUNTIF(Sheet1!A1:A1077,A1&"*"),"A","E")&B1,"GO
TO")

Or, you could combine them both into one:

=HYPERLINK("#sheet1!"&IF(COUNTIF(Sheet1!A1:A1077,A1&"*"),"A","E")&MATCH(A1&"*",IF(COUNTIF(Sheet1!A1:A1077,A1&"*"),Sheet1!A1:A1077,Sheet1!E1:E1077),0),"GO
TO")

Signature

Biff
Microsoft Excel MVP

>        A                            B
>     C
[quoted text clipped - 24 lines]
>
> PS: My method, just described above does NOT work!!!!!!!!!!!!!!
FLKulchar - 14 May 2008 23:19 GMT
thank you...works perfectly!

FLKulchar
> I'm assuming that the lookup value *does* exist in one range or the other
> so there's no error checking.
[quoted text clipped - 42 lines]
>>
>> PS: My method, just described above does NOT work!!!!!!!!!!!!!!
T. Valko - 15 May 2008 02:59 GMT
You're welcome. Thanks for the feedback!

Signature

Biff
Microsoft Excel MVP

> thank you...works perfectly!
>
[quoted text clipped - 45 lines]
>>>
>>> PS: My method, just described above does NOT work!!!!!!!!!!!!!!

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.