I have a couple hundred of cells in Excel I would like to concatenate into a single string. Is there a simpler method of doing this than going through them one by one manual
Shamelessly copied from this site:
- Select the cell where you need the result.
- Go to formula bar and enter ... "=A1:A5"
- Select the entire formula and press F9 (this converts the formula into values).
- Remove the curly brackets from both ends.
- Add =CONCATENATE( to the beginning of the text and end it with a round bracket).
- Press Enter.
What is particularly revelatory here is that when editing a formula, pressing F9 replaces the formula with the result of that formula. Where that's a range, it replaces it with a list of the contents of that range.