Excel: Merge While Keeping All Data
Solved
cotojo
-
Anahita1 -
Anahita1 -
Hello,
I'm trying to merge several cells in Excel, but it deletes the values of the cells except for the first one!
Does anyone have a solution?
Thank youConfiguration: Windows XP
Firefox 2.0.0.11
I'm trying to merge several cells in Excel, but it deletes the values of the cells except for the first one!
Does anyone have a solution?
Thank youConfiguration: Windows XP
Firefox 2.0.0.11
8 réponses
I disagree with Grad; everything is possible, everything is achievable.
Concatenation: it allows the addition of strings of characters, or to be more precise, the juxtaposition of strings of characters.
Thus, the formula ="A" & "B" will give the result "AB".
Alright, but what is the use of this??
Imagine you have a table that includes, among other things, a First Name column and a Last Name column. You would like to combine the two into a single cell.
How to solve this tricky problem? Merging First Name and Last Name... the 2 cells? Try it! You didn't get the expected result? Not surprising! When merging 2 cells, Excel erases the content of the right cell, in other words, the Last Name...
The solution is to enter the following formula in cell D3:
= A3 & " " & B3
The string " " (with a space between the two quotation marks) allows you to insert a space between the First Name and the Last Name. It will give the result "A B".
Concatenation: it allows the addition of strings of characters, or to be more precise, the juxtaposition of strings of characters.
Thus, the formula ="A" & "B" will give the result "AB".
Alright, but what is the use of this??
Imagine you have a table that includes, among other things, a First Name column and a Last Name column. You would like to combine the two into a single cell.
How to solve this tricky problem? Merging First Name and Last Name... the 2 cells? Try it! You didn't get the expected result? Not surprising! When merging 2 cells, Excel erases the content of the right cell, in other words, the Last Name...
The solution is to enter the following formula in cell D3:
= A3 & " " & B3
The string " " (with a space between the two quotation marks) allows you to insert a space between the First Name and the Last Name. It will give the result "A B".
David B.
Thank you a thousand times!
Sim Kamille
Thank you!! You're saving my life lol