I'm trying to add a link into an excel worksheet that pulls values from the cells to provide the information for the hyperlink to a ticket in one of our databases.
I had it working at one point, but it was opening the ticket instead of "viewing" it. When i tried to correct it, it stopped working again.
They hyperlink to view the ticket should look something like this
hxxps://companyserver/tickettype_q.asp?qid=####&tick=####&redirect=qman. asp%3Fqid%ABCD&viewonly=1
A1 has the ticket number (tick####)
B1 has the qid. This is where the If statement comes in. If the text in B1 says "Open" then the qid would be 1000, if it's pending update the qid would be 1010, etc. There are a total of 7 different QIDs
My equation currently looks like (With necessary corrections for security purposes)
=HYPERLINK("hxxps://servername/tickettype_q.asp?qid="&IF(B1="Open",1000,IF(B1="Pe nding Information",1100,IF(B1="Pending Update",1010,0)&"&tick=#value(A1)&redirect=qman.as p%3Fqid%ABCD&viewonly=1
I still need to add the others, but I can't seem to get it to work with what I've got so far.
Any recommendations?
Thanks!
CH
I had it working at one point, but it was opening the ticket instead of "viewing" it. When i tried to correct it, it stopped working again.
They hyperlink to view the ticket should look something like this
hxxps://companyserver/tickettype_q.asp?qid=####&tick=####&redirect=qman. asp%3Fqid%ABCD&viewonly=1
A1 has the ticket number (tick####)
B1 has the qid. This is where the If statement comes in. If the text in B1 says "Open" then the qid would be 1000, if it's pending update the qid would be 1010, etc. There are a total of 7 different QIDs
My equation currently looks like (With necessary corrections for security purposes)
=HYPERLINK("hxxps://servername/tickettype_q.asp?qid="&IF(B1="Open",1000,IF(B1="Pe nding Information",1100,IF(B1="Pending Update",1010,0)&"&tick=#value(A1)&redirect=qman.as p%3Fqid%ABCD&viewonly=1
I still need to add the others, but I can't seem to get it to work with what I've got so far.
Any recommendations?
Thanks!
CH
Comment