Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have example of a hyperlink that is fragmented for use of inserting a
variable, e.g.: HYPERLINK($U$5&O9&$U$7,"1") Need O9 (variable) to be truncated of last three characters, so far have: =IF(RIGHT(O9,3)=".pk",HYPERLINK($U$5&O9&$U$7,"1"), HYPERLINK($U$5&O9&$U$7,"1")) (need fix for 1st hyperlink expression "O9", to lose last 3 characters if ".pk") thanks in advance |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You can embed the if statement into the body of your formula:
=HYPERLINK($U$5&IF(RIGHT(O9,3)<".pk",O9,LEFT(O9,L EN(O9)-3))&U$7,"1") nastech wrote: I have example of a hyperlink that is fragmented for use of inserting a variable, e.g.: HYPERLINK($U$5&O9&$U$7,"1") Need O9 (variable) to be truncated of last three characters, so far have: =IF(RIGHT(O9,3)=".pk",HYPERLINK($U$5&O9&$U$7,"1"), HYPERLINK($U$5&O9&$U$7,"1")) (need fix for 1st hyperlink expression "O9", to lose last 3 characters if ".pk") thanks in advance -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
awsome, thanks much..
"Dave Peterson" wrote: You can embed the if statement into the body of your formula: =HYPERLINK($U$5&IF(RIGHT(O9,3)<".pk",O9,LEFT(O9,L EN(O9)-3))&U$7,"1") nastech wrote: I have example of a hyperlink that is fragmented for use of inserting a variable, e.g.: HYPERLINK($U$5&O9&$U$7,"1") Need O9 (variable) to be truncated of last three characters, so far have: =IF(RIGHT(O9,3)=".pk",HYPERLINK($U$5&O9&$U$7,"1"), HYPERLINK($U$5&O9&$U$7,"1")) (need fix for 1st hyperlink expression "O9", to lose last 3 characters if ".pk") thanks in advance -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
removing automatic link | Excel Discussion (Misc queries) | |||
Need to remove selected characters | Excel Discussion (Misc queries) | |||
how do I remove a link between worksheeta? | Excel Worksheet Functions | |||
Breaking the link | New Users to Excel | |||
Remove link to another workbook | New Users to Excel |