A family of Microsoft relational database management systems designed for ease of use.
We need an extra parameter (Number1 field) to help us with differentiating the formula for Task A, Task B, Task C and so on, since Project allows us to enter only a common formula for all the task lines. It does not work like Excel.
Number1 field's value is 1 for Task A, 2 for Task B and it is 3 for Task C...
I'll use Text1 field as hyperlink field with the formula below:
choose( Number1,
"http://www.companyabcsharepoint.com/" & switch(Instr(Text3,"Value_4"),"Value_4_A",Instr(Text3,"Value_5"), "Value_5_A",True,"-No Value-") & "/project",
"http://www.companyabcsharepoint.com/" &
switch(Instr(Text3,"Value_2"),"Value_2_B",Instr(Text3,"Value_4"), "Value_4_B",True,"-No Value-") & "/project",
"http://www.companyabcsharepoint.com/" &
switch(Instr(Text3,"Value_2"),"Value_2_C", True,"-No Value-") & "/project"
)
Hope it works in your case.
Regards.