[Solved] How can I merge multiple rows at a time....

Discuss the spreadsheet application
Post Reply
dritchie09
Posts: 8
Joined: Mon Sep 28, 2009 11:51 pm

[Solved] How can I merge multiple rows at a time....

Post by dritchie09 »

Is there a way to merge multiple rows at a time while keeping the row values separate? We are using OpenOffice calc 3.1.1


For example, I want to merge the following:

Row 1: Jennifer | Johnson
Row 2: Dan | Paulson

into

Row 1: Jennifer Johnson
Row 2: Dan Paulson

The only way I can see to do this right now is to highlight each individual row and merge it separately.

Is there a better way to do this? Can I do this with multiple rows at once? Or a better way?

Thanks,
Dan
Last edited by dritchie09 on Mon Jan 04, 2010 5:32 pm, edited 1 time in total.
OpenOffice 3.1
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: How can I merge multiple rows at a time....

Post by Villeroy »

First pair of names in A1 and B1,
C1 =A1&" "&B1
copy down C1
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
dritchie09
Posts: 8
Joined: Mon Sep 28, 2009 11:51 pm

Re: "[Solved]" How can I merge multiple rows at a time....

Post by dritchie09 »

Thank you this worked!!
OpenOffice 3.1
CowboyTed
Posts: 1
Joined: Thu Jul 21, 2011 8:07 pm

Re: [Solved] How can I merge multiple rows at a time....

Post by CowboyTed »

I just came across this solution and I wanted to thank Villero for it.
I have been trying to find this solution to merging cells for awhile.
Thanks again !!!!!!!!!!!!!! :super:
OpenOffice 3.3 on Windows XP
Delzars
Posts: 3
Joined: Mon Jul 28, 2014 6:51 pm

Re: [Solved] How can I merge multiple rows at a time....

Post by Delzars »

Great solution. Now, what if I want to merge 3 cells or 4 cells or 5,6,7,8 cells in each row?
OpenOffice 4.10-Max OSX
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: [Solved] How can I merge multiple rows at a time....

Post by RusselB »

Just expand the formula, and move the formula over so that it always ends up in an empty cell.
If you're not sure how many you're going to need, you could put the formula into column A and your data into columns B->?
Using this, for 3 it'd be =B1&" "&C1&" "&D1
For 4: =B1&" "&C1&" "&D1&" "&E1
For 5: =B1&" "&C1&" "&D1&" "&E1&" "&F1
etc.
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
User avatar
the_watchmann
Posts: 20
Joined: Wed Oct 05, 2011 2:40 pm

Re: [Solved] How can I merge multiple rows at a time....

Post by the_watchmann »

I don't have that symbol on my keyboard (US English) nor can I find it in the OOo symbols?
OpenOffice 4 Linux Mint 17.2
User avatar
RoryOF
Moderator
Posts: 34618
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] How can I merge multiple rows at a time....

Post by RoryOF »

That symbol is the Ampersand, usually Shift 7 on the top row of the keyboard. Its appearance varies slightly according to the font in use.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
DYX
Posts: 3
Joined: Wed Dec 07, 2016 9:25 pm

Re: [Solved] How can I merge multiple rows at a time....

Post by DYX »

This isn't working for me. I must be missing some understanding. This is what I am trying: F20 =B20&" "&C20&" "&D20&" "&E20 Nothing merges. It does seem crazy that for such a commonly used function there's not a shortcut, like highlighting the cells of a row or column, holding Ctrl or Alt+Ctrl or something, then moving on to the next row or column; clicking Merge at the end. I'm new to OpenOffice. Naturally finding it very frustrating (until I know how to do what I need to do). Anyhow, the apparent absence of tools or shortcuts for common functions intensifies this frustration.
OpenOffice 4.1.3 on Windows 8
User avatar
Zizi64
Volunteer
Posts: 11361
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: [Solved] How can I merge multiple rows at a time....

Post by Zizi64 »

Please upload your example .ods file here.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: [Solved] How can I merge multiple rows at a time....

Post by Villeroy »

DYX wrote:This is what I am trying: F20 =B20&" "&C20&" "&D20&" "&E20 Nothing merges.
Attachments
blahblahblahblah.ods
(9.04 KiB) Downloaded 221 times
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
DYX
Posts: 3
Joined: Wed Dec 07, 2016 9:25 pm

Re: [Solved] How can I merge multiple rows at a time....

Post by DYX »

Now I get the drift. My misunderstanding (reading too quickly, I guess). Thank you. But I wanted to merge the row cells, not their content (it did seem strange that a formula was needed to do this). Any idea how I can merge, say 5 cells per row, in 50 rows, keeping 50 distinct rows?
OpenOffice 4.1.3 on Windows 8
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: [Solved] How can I merge multiple rows at a time....

Post by Villeroy »

Merging cells is not a feature. It is a desease.

Pull down the concatenation formula and copy.
Edit>PasteSpecial in place to replace the formulas with values.
Adust alignment, line break, cell width etc.
Delete the other columns.
 Edit: No, do not delete the original values. It's just a matter of time when you need the single values. Just pull down the concatenation formula. 
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
DYX
Posts: 3
Joined: Wed Dec 07, 2016 9:25 pm

Re: [Solved] How can I merge multiple rows at a time....

Post by DYX »

Thank you!
OpenOffice 4.1.3 on Windows 8
Post Reply