Forum Discussion

VarunAgw's avatar
VarunAgw
Copper Contributor
Mar 12, 2023
Solved

How do I concat column and then rows in same formula

A1 B1 A2 B2 A3 B3 A4 B4   My table looks like this.   I want to parse this table into a value like this.   =HYPERLINK('https://example/?data= A1:B1,A2:B2,A3:B3,A4:B4`')   N...
  • mtarler's avatar
    mtarler
    Mar 13, 2023

    VarunAgw  attached are 2 options that might work for you. the 'key' part is:

    TEXTJOIN(",",,A1:A4&":"&B1:B4)

    in that it will give you the A1:B1,A2:B2 ...

    wasn't sure if the encodeurl was going around the whole thing (I doubt) or applied to each individual cell (more likely):

     

    =HYPERLINK("https://example/?data="&TEXTJOIN(",",,ENCODEURL(A1:A4)&":"&ENCODEURL(B1:B4)))

     

Resources