Home

Hyperlink function returns "#value"

%3CLINGO-SUB%20id%3D%22lingo-sub-1063669%22%20slang%3D%22en-US%22%3EHyperlink%20function%20returns%20%22%23value%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1063669%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20having%20an%20error%20with%20a%20hyperlink%20function%20I%20am%20implemented%20in%20my%20order%20log%20spreadsheet.%20There%20is%20an%20IF%20statement%20that%20precedes%20the%20hyperlink%20function%2C%20which%20basically%20is%20to%20confirm%20that%20the%20order%20has%20not%20been%20placed%2C%20along%20with%20another%20constraint%20if%20an%20order%20is%20about%20%245%2C000%20to%20get%20approval%20for%20it.%20The%20second%20half%20the%20%22hyperlink%20function%22%20contains%20the%20%22email%20for%20the%20contact%22%20of%20the%20supplier%2C%20the%20%22cc%22%2C%20the%20%22subject%22%20which%20is%20the%20PO%20number%2C%20and%20the%20%22body%20of%20the%20email%22%2C%20which%20is%20where%20I%20use%20the%20concatenate%20function%20to%20populate%20the%20body%20portion%20of%20the%20hyperlink%20function%2C%20which%20references%20the%20part%20number%20the%20part%20description%2C%20and%20the%20qty%20ordered%2C%20along%20with%20text.%20I%20also%20reference%20the%20employee's%20email%20who%20is%20requesting%20the%20email%20in%20the%20%22cc%22%20portion%20of%20the%20hyperlink.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20issue%20is%20I%20have%20a%20%22%23value%22%20error%20popping%20up.%20I'm%20not%20sure%20this%20because%20of%20the%20syntax%2C%20because%20I%20tried%20deleting%20the%20part%20number%20and%20description%2C%20and%20I%20then%20can%20send%20the%20email%2C%20so%20I%20figure%20that%20it%20was%20an%20error%20with%20referencing%20the%20cells%20in%20the%20body%20of%20the%20email.%20I%20sometimes%20will%20have%20an%20error%20if%20I%20pull%20up%20a%20certain%20employee's%20email%20in%20the%20%22cc.%22%20I'm%20not%20sure%20what%20the%20root%20cause%20of%20the%20issue%20is%2C%20but%20I%20suspect%20it%20is%20in%20the%20body%20of%20the%20hyperlink%20function%2C%20and%20the%20cc%20portion%20as%20well.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20someone%20please%20give%20me%20a%20hand%20on%20this%20issue%3F%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1063669%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBI%20%26amp%3B%20Data%20Analysis%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1063792%22%20slang%3D%22en-US%22%3ERe%3A%20Hyperlink%20function%20returns%20%22%23value%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1063792%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F480499%22%20target%3D%22_blank%22%3E%40Dexlee46%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20think%20your%20combined%20text%20string%20is%20exceeding%20the%20allowable%20256%20character%20limit%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1065166%22%20slang%3D%22en-US%22%3ERe%3A%20Hyperlink%20function%20returns%20%22%23value%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1065166%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9832%22%20target%3D%22_blank%22%3E%40Wyn%20Hopkins%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20the%20input!%20So%20by%20exceeding%20the%20total%20limit%2C%20is%20this%20all%20the%20text%20encapsulated%20in%20the%20link%20location%20portion%20for%20the%20hyperlink%20function%3F%20If%20so%2C%20how%20do%20you%20overcome%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1066103%22%20slang%3D%22en-US%22%3ERe%3A%20Hyperlink%20function%20returns%20%22%23value%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1066103%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F480499%22%20target%3D%22_blank%22%3E%40Dexlee46%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYep%2C%20best%20option%20is%20to%20split%20the%20string%20into%202%20helper%20columns%20and%20then%20join%20those%20in%20your%20hyperlink%20function%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F161773i913513C3F2F6C4ED%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_0.png%22%20title%3D%22clipboard_image_0.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1066104%22%20slang%3D%22en-US%22%3ERe%3A%20Hyperlink%20function%20returns%20%22%23value%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1066104%22%20slang%3D%22en-US%22%3EAs%20a%20side%20note%2C%20be%20careful%20with%20the%20amount%20of%20conditional%20formatting%20you%20are%20applying.%20the%20file%20could%20be%20come%20super%20slow.%3CBR%20%2F%3EYour%20table%20finishes%20at%20row%2015%2C155%20and%20then%20you%20have%20formatting%20all%20the%20way%20down%20to%20row%201Million%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1068461%22%20slang%3D%22en-US%22%3ERe%3A%20Hyperlink%20function%20returns%20%22%23value%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1068461%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20the%20advice!%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlthough%2C%20I'm%20still%20having%20trouble%20getting%20the%20help%20cells%20to%20work.%20If%20you%20look%20at%20the%20bottom%20of%20the%20spreadsheet%20for%201912038%2C%20I%20created%20two%20columns%20for%20the%20helper%20columns%20with%20the%20mail%20to%20and%20subject%20in%20column%201%2C%20and%20the%20cc%20and%20body%20for%20column%202.%20But%20when%20I%20copied%20the%20syntax%20you%20used%20to%20merge%20them%2C%20it%20was%20unsuccessful.%20I'm%20guessing%20the%20issue%20is%20still%20the%20character%20limit%3F%20If%20this%20is%20the%20case%2C%20the%20body%20portion%20is%20probably%20the%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20let%20me%20know%20how%20to%20proceed%3F%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1069324%22%20slang%3D%22en-US%22%3ERe%3A%20Hyperlink%20function%20returns%20%22%23value%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1069324%22%20slang%3D%22en-US%22%3E%3CP%3EHI%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F480499%22%20target%3D%22_blank%22%3E%40Dexlee46%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EApologies%2C%20I've%20done%20some%20more%20digging%20into%20this%20and%20splitting%20the%20items%20doesn't%20help%20with%20Hyperlink%20there%20is%20a%20hard%20256%20character%20limit%20regardless%20of%20how%20you%20arrive%20at%20it.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDoesn't%20appear%20to%20be%20a%20workaround%20without%20going%20down%20the%20path%20of%20VBA%20and%20using%20some%20external%20url%20shortner%20-%20see%20this%20post%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F3893541%2Fexceeding-max-char-limit-in-excel%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F3893541%2Fexceeding-max-char-limit-in-excel%3C%2FA%3E%26nbsp%3B%20no%20idea%20if%20it's%20still%20relevant%20as%20it's%20quite%20an%20old%20post%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hello,

 

I'm having an error with a hyperlink function I am implemented in my order log spreadsheet. There is an IF statement that precedes the hyperlink function, which basically is to confirm that the order has not been placed, along with another constraint if an order is about $5,000 to get approval for it. The second half the "hyperlink function" contains the "email for the contact" of the supplier, the "cc", the "subject" which is the PO number, and the "body of the email", which is where I use the concatenate function to populate the body portion of the hyperlink function, which references the part number the part description, and the qty ordered, along with text. I also reference the employee's email who is requesting the email in the "cc" portion of the hyperlink.

 

The issue is I have a "#value" error popping up. I'm not sure this because of the syntax, because I tried deleting the part number and description, and I then can send the email, so I figure that it was an error with referencing the cells in the body of the email. I sometimes will have an error if I pull up a certain employee's email in the "cc." I'm not sure what the root cause of the issue is, but I suspect it is in the body of the hyperlink function, and the cc portion as well.

 

Can someone please give me a hand on this issue?

Thanks.

6 Replies
Highlighted

Hi @Dexlee46 

 

I think your combined text string is exceeding the allowable 256 character limit

 

 

Highlighted

@Wyn Hopkins 

 

Thank you for the input! So by exceeding the total limit, is this all the text encapsulated in the link location portion for the hyperlink function? If so, how do you overcome this?

Highlighted

@Dexlee46 

 

Yep, best option is to split the string into 2 helper columns and then join those in your hyperlink function

 

clipboard_image_0.png

 

 

Highlighted
As a side note, be careful with the amount of conditional formatting you are applying. the file could be come super slow.
Your table finishes at row 15,155 and then you have formatting all the way down to row 1Million
Highlighted

Thank you for the advice! 

 

Although, I'm still having trouble getting the help cells to work. If you look at the bottom of the spreadsheet for 1912038, I created two columns for the helper columns with the mail to and subject in column 1, and the cc and body for column 2. But when I copied the syntax you used to merge them, it was unsuccessful. I'm guessing the issue is still the character limit? If this is the case, the body portion is probably the issue.

 

Can you let me know how to proceed?

Thanks.

Highlighted

HI @Dexlee46 

 

Apologies, I've done some more digging into this and splitting the items doesn't help with Hyperlink there is a hard 256 character limit regardless of how you arrive at it.

 

Doesn't appear to be a workaround without going down the path of VBA and using some external url shortner - see this post https://stackoverflow.com/questions/3893541/exceeding-max-char-limit-in-excel  no idea if it's still relevant as it's quite an old post