Forum Discussion
Srikanth0990
Jun 07, 2022Copper Contributor
Need help on CONCAT function for multiple column values
COL1 COL2 COL3 CONCAT RESULT B972 02 DPP ('B972','02','DPP');
- Jun 07, 2022Do you want the result to be this: ('B972','02','DPP');
If yes, this the formula
=CONCAT("('",A1,"','",B1,"','",C1,"');")
Jun 07, 2022
Hi Srikanth0990
This is the formula for using concat is this, Concat(col1,col2,col3), and
=CONCAT(A2,B2,C2)
if you want to add space between values:
=CONCAT(A2," ",B2," ",C2)
Srikanth0990
Jun 07, 2022Copper Contributor
Jihad Al-Jarady It's not working as expected
- Jun 07, 2022Do you want the result to be this: ('B972','02','DPP');
If yes, this the formula
=CONCAT("('",A1,"','",B1,"','",C1,"');")