Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Conditional Hyperlinking

I have an Excel 2000 spreadsheet with 2 sheets in it that is my Purchase
Order Log.

Sheet1 = "2008 Jobs"
Column A = Job numbers
Column B = Job Names
Column C = Network path to that Job's folder (when there is one). ie:
'\\server\salesman\projects\jobfolder'

Sheet 2 = "PO's 2008"
Column C = Vendor Name
Column D = Job Name
Column E = Currently contains the following function:

IF(AND(C10,D10)=TRUE,VLOOKUP(D1,'2008 Jobs'!A:C,2,0),IF(AND(C1<1,D1<1),"",
IF(D1<1,"Need Job Number","Need Vendor")))

Which:
1. Makes sure that there is a Vendor and Job Number Entered, if not it
gives one of two error messages "Need Job Number" or "Need Vendor".
2. Looks up the Job Name on the same row as the Job number in Sheet1 and
prints it in the selected cell in Column E

What I want to do:

I want to hyperlink the Job Name (supplied by VLOOKUP) to the Network Path
(also supplied by VLOOKUP) only when there is information in Column C of 2008
Jobs.

What I am getting:

All the results are hyperlinked regardless of the results of VLOOKUP Column
C's contents.

What I tried:

I tried creating an additional IF statement that would verify that Column C
had content using a vlookup0 and then hyperlink if vlookup=true or just
print the vlookup if false.

My hyperlink formula:

IF(AND(C50,D50)=TRUE,IF(VLOOKUP(D5,'2008
Jobs'!A:C,3,0)0,HYPERLINK(VLOOKUP(D5,'2008 Jobs'!A:C,3,0),VLOOKUP(D5,'2008
Jobs'!A:C,2,0)),VLOOKUP(D5,'2008
Jobs'!A:C,2,0)),IF(AND(C5<1,D5<1),"",IF(D5<1,"Need Job Number","Need
Vendor")))

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
Hyperlinking hounddigitydog Excel Discussion (Misc queries) 0 May 21st 08 04:09 PM
Hyperlinking xbabytam Excel Discussion (Misc queries) 1 August 21st 07 03:12 PM
Three questions on hyperlinking and conditional formatting [email protected] Excel Worksheet Functions 0 September 14th 06 05:25 PM
Hyperlinking Niccalo Excel Worksheet Functions 2 May 31st 05 12:07 PM
Hyperlinking when it shouldn't... B.C.Lioness Excel Worksheet Functions 0 May 17th 05 07:15 PM


All times are GMT +1. The time now is 05:02 AM.

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"