when merges the cells data in excel, the default state is the last cell merged only get the left data.
eg: A2: Hello B2:world C2:test when i merge A2,B2,C2. the data i get will be Hello. if i want to get Helloworldtest
now i want to get all the data in the cells and display the data in the original cell(the merged cell). how do i do ? thank you。
Use
in cell
d2(for example) to consolidate all of the data together for the first 3 columns of the row.As mentioned in a comment on the other answer, the documentation for the Concatenate function that NirMH suggested is here. The following function call will produce the same results as the ampersand method in my answer
=CONCATENTATE(a2,b2,c2)