Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 to build 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") |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Jul 20, 8:29*am, FGM wrote:
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 to build 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 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 back as 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" wrote: On Jul 20, 8:29 am, FGM wrote: 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 to build 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 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Jul 20, 10:52*am, FGM wrote:
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 back as a formula. *Anyone else have a solution please * *..thank you. =IF($D4="","","=HYPERLINK("&""""&$A$1&"["&F$3&TEXT($D4,"m-d-yy")&".xls]Dail*y Schedule!$AT$54"&""""&")") "Matthew Herbert" wrote: On Jul 20, 8:29 am, FGM wrote: 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 to build 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 - - Show 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]Dail*y 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 |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Jul 20, 11:42*am, Matthew Herbert wrote:
On Jul 20, 10:52*am, FGM wrote: 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 back as a formula. *Anyone else have a solution please * *..thank you. =IF($D4="","","=HYPERLINK("&""""&$A$1&"["&F$3&TEXT($D4,"m-d-yy")&".xls]Dail**y Schedule!$AT$54"&""""&")") "Matthew Herbert" wrote: On Jul 20, 8:29 am, FGM wrote: 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 to build 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 - - Show 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]Dail*y 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 - FGM, Sorry about the double quote comment, I was thinking about something else at the time. However, another alternative is to build your string text (i.e. the text before and after your TEXT function) in another cell and then reference this cell in the HYPERLINK forumla within the IF formula. (Or at least building it this way will help reveal where potential errors may occur. Then you can "smash" everything together again). Best, Matt |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Your input is greatly appreciated. HYPERLINK may not be the right function.
I am not trying to create a link that will bring back the information store in the specified cell from the workbook that I am trying to link to. Suggestions still welcomed. ps your way of doing the HYPERLINK works to create a HYPERLINK address. "Matthew Herbert" wrote: On Jul 20, 11:42 am, Matthew Herbert wrote: On Jul 20, 10:52 am, FGM wrote: 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 back as a formula. Anyone else have a solution please ..thank you. =IF($D4="","","=HYPERLINK("&""""&$A$1&"["&F$3&TEXT($D4,"m-d-yy")&".xls]DailÂ*Â*y Schedule!$AT$54"&""""&")") "Matthew Herbert" wrote: On Jul 20, 8:29 am, FGM wrote: 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 to build 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 - - Show 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]DailÂ*y 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 - FGM, Sorry about the double quote comment, I was thinking about something else at the time. However, another alternative is to build your string text (i.e. the text before and after your TEXT function) in another cell and then reference this cell in the HYPERLINK forumla within the IF formula. (Or at least building it this way will help reveal where potential errors may occur. Then you can "smash" everything together again). Best, Matt |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pasting HTTP 'without' it being a clickable link?? | Excel Worksheet Functions | |||
ADODB over HTTP? | Excel Programming | |||
start http://..... vs hyperlink http://..... | Excel Discussion (Misc queries) | |||
HTTP link in Excel | Excel Programming |