The TABLE_TO_KV function is a tool for building URLs our any key & value string quickly and properly.
The most common use case is for building trackable campaign links.
=TABLE_TO_KV(table, key_location, no_key_encode, no_value_encode)input [range]
key_location [number, default = 0]
The location of the key names, or headers.
no_key_encode [boolean, default = false]
no_value_encode [boolean ,default = false]
Click the Code Box to Copy
We've built an interactive tutorial in Google Sheets where it's easy to see how the function works. You can read the definition, edit examples, and do some practice examples to verify that you understand how to use the function.
Copy Tutorial View Tutorial Download AppScript Code