The same thing happens when I use HYPELINK. It comes back as text. If I go
in and edit the equal sign and hit enter or use find then it comes backas a
formula. Anyone else have a solution please ..thank you.
=IF($D4="","","=HYPERLINK("&""""&$A$1&"["&F$3&TEXT($D4,"m-d-yy")&".xls]Daily
Schedule!$AT$54"&""""&")")
Matthew Herbert said:
I am having trouble in excel vs2002 with an if statement that I am trying to
build a hyperlink in.
If D4 if blank I want it to remain blank but if it is not I want tobuild a
http link.
It comes back but just as text. Doing a find replace after for the = sign
makes it a formula and works. Would like to do it without the find replace.
thanks..
=IF($D4="","","='"&$A$1&"["&F$3&TEXT($D4,"m-d-yy")&".xls]Daily
Schedule'!$AT$54")
FGM,
Did you try embedding the HYPERLINK function in your IF function?
Best,
Matthew Herbert- Hide quoted text -
FGM,
You shouldn't need the double quote or the = before HYPERLINK nor the
double quote at the end. The result of the FALSE statement comes back
as text because you enclosed the string in double quotes. (And I'm
not sure why you have blank double quotes in at least two spots within
the HYPERLINK formula). What is your hyperlink supposed to look like,
i.e. can you post the raw text of ("&""""&$A$1&"["&F$3&TEXT($D4,"m-d-
yy")&".xls]Daily Schedule!$AT$54"&""""&"? (Or, are you looking to
get a value from the listed workbook/worksheet/cell? You may be
looking for the INDIRECT function).
Be sure to read help file on the IF function, and more particuallarly
on the HYPERLINK function (which accepts the link_location as text).
Also, see the examples for these functions.
Best,
Matt- Hide quoted text -
- Show quoted text -