Solved

# how to merge columns in calc

Posted on 2011-03-08
676 Views
This question is for open office calc, but i think excel users would probably  be able to help

I wish to merge A1 - C1. I want to do this to all rows ( i have 2000 ). I believe this has to be done with a formula. I found the below. The only thing is i don't know how to implement this. ie where do i put the formula. And what cells do i select.

=CONCATENATE( A1; ":"; B1; ":"; C1 )

0
Question by:frosty1

Expert Comment

ID: 35068029
Insert new column between C and D if you have data in column D
And place the formula at column D, if you want to hide the columns A, B and C you can hide them.
0

LVL 4

Accepted Solution

kevb258 earned 500 total points
ID: 35068051
Place the following formula in a new cell, e.g. D1
=CONCATENATE(A1,":",B1,":",C1)
Then if the value you want to merge are in columns A, B, C, starting at Row 1, then copy D1 to paste into D2 through D2000 and Excel will update the references of A1, B1, C1 to A2, B2 and C2 etc for each new row. So D2000 would contain the formula =CONCATENATE(A2000,":",B2000,":",C2000)

Then Column D will contain the merged results.
0

LVL 6

Expert Comment

ID: 35068112
= a1 & ":" & B1 & ":" & c1 would work also and is less typing ;0)

kind regards

Eric
0

Author Comment

ID: 35068313
thanks for all comments, you were all obviously correct. Once i've got this formula i want to copy the data but when i copy the data it takes the formula with it. Can copy just the raw data
0

LVL 4

Expert Comment

ID: 35068494
It is more about what is pasted. Try using "Edit-> Paste Special" and then choose values.
0

## Featured Post

### Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.