Google Sheets – How to Add Two Variables to a Hyperlink

google sheetslinks

I know this works:

= hyperlink( "https://www.google.com/search?q=" & B2 )

But I can't get two variables to work so the link would look like:

https://www.google.com?var1=[insert cell contents]&var2=[insert cell contents]

Any suggestions?

Best Answer

= hyperlink( "https://www.google.com/search?q=" & B1 & "&var2=" & C1 )

This works for me.