Merging Tables with Different Columns, based on 1 column's d

Discuss the spreadsheet application
Post Reply
dantastic
Posts: 1
Joined: Tue Jun 18, 2019 9:14 am

Merging Tables with Different Columns, based on 1 column's d

Post by dantastic »

Hi all, I'm a teacher and need to merge rows of a spreadsheet to calculate students' final grades.
Basically what I need is like this, but on a larger scale:
Change this:

a________1
a________1________2
a________1________1________3
b________1________6
c________7
c________1________8
c________1________1________4

Into this:

a________1________2________3
b________-________6________-
c________7________8________4
How can I combine sheets like this, adding columns from the different sheets but merging identical email addresses into 1 line?
Any help is much appreciated:)
OpenOffice 4.16 on Windows 10
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: Merging Tables with Different Columns, based on 1 column

Post by RusselB »

Welcome to the Forums.
I'm going to suggest looking at using a Pivot Table (aka Data Pilot).
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
MrProgrammer
Moderator
Posts: 4906
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Merging Tables with Different Columns, based on 1 column

Post by MrProgrammer »

dantastic wrote:
Change this:
   a   1
   a       2
   a           3
   b       6
   c   7
   c       8
   c           4

Into this:
   a   1   2   3
   b   -   6   -
   c   7   8   4
Open attachment. Review formulas in G1:K8. In cell K1, click dropdown and select 1. Or click cell K2 then use Data → Filter → Standard Filter → Field name → Last? → Condition → = → Value → 1 → More Options → Copy results to → «somewhere» → OK. Note that style NoZero has been applied to H2:J8.
201906211708.ods
(11.18 KiB) Downloaded 122 times
If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
Post Reply