开发者

Use Excel Concatenate function

开发者 https://www.devze.com 2023-02-01 07:58 出处:网络
I am trying to merge the data from three columns into one column in Excel. Example, i would like to merge Product, Location, and Key_id into one column

I am trying to merge the data from three columns into one column in Excel. Example, i would like to merge Product, Location, and Key_id into one column

Product Location             Key_Id
Car     开发者_运维知识库      VA             86421910
Car           VA             86424482
Car           VA             86416836

Combined Column:
Car 'VA', '86421910'
Car 'VA', '86424482'
Car 'VA', '86416836'

I was wondering if there is a way in Excel that can do it? Thanks in advance! I was not doing a good job of accepting the answers in the past. I will do my part which is to accept the answer moving foward.

Regards,


http://www.info-stat.com/XLConCat.htm shows examples of string concatenation in Excel. If I knew which version you were using and could identify the column IDs I could write it.

Assuming Product is Column A, Location is Column B and Key_ID is column three and data starts at row 2:

=A2&" '"&B2&"', '"&C2&"'"


=CONCATENATE(A2," '",B2,"', '",C2,"'")
0

精彩评论

暂无评论...
验证码 换一张
取 消