Array formula to extract unique records, sort

enasnidx

New Member
Joined
May 15, 2018
Messages
7
I'm sorry, I am not very sharp with Excel. I tried watching vids on magic tricks #690 and #759 but didn't quite get to what I wanted to do. Can someone help me figure out a formula to accomplish task?
I am tracking competition scores over several weeks for a list of teams. The team list grows each week/competition with some unique teams added and numerous repeat teams. Is there a formula to take the list of current teams/scores and condense it each week with another list of teams/scores - remove duplicate team names, sort alphabetically, and add the new score to the list?

Example:
Week 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]Team[/TD]
[TD]Score[/TD]
[/TR]
[TR]
[TD]Alpha[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]Beta[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD]Charlie[/TD]
[TD]15[/TD]
[/TR]
</tbody>[/TABLE]

Week 2
[TABLE="width: 500"]
<tbody>[TR]
[TD]Team
[/TD]
[TD]Score
[/TD]
[/TR]
[TR]
[TD]Alpha[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Golf[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]Delta[/TD]
[TD]15[/TD]
[/TR]
[TR]
[TD]Beta[/TD]
[TD]15[/TD]
[/TR]
[TR]
[TD]Charlie[/TD]
[TD]25[/TD]
[/TR]
</tbody>[/TABLE]

Condensed (goal)
[TABLE="width: 500"]
<tbody>[TR]
[TD]Team
[/TD]
[TD]Score 1
[/TD]
[TD]Score 2
[/TD]
[/TR]
[TR]
[TD]Alpha[/TD]
[TD]20[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Beta[/TD]
[TD]25[/TD]
[TD]15[/TD]
[/TR]
[TR]
[TD]Charlie[/TD]
[TD]15[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD]Delta[/TD]
[TD][/TD]
[TD]15[/TD]
[/TR]
[TR]
[TD]Golf[/TD]
[TD][/TD]
[TD]30[/TD]
[/TR]
</tbody>[/TABLE]

Thanks!
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Wow, this is incredible. For the past two seasons I've been manually condensing score lists and deleting duplicate teams. It's about a 3 hour process after every contest. Only question I have is if there is a way for a team to get a blank or 0 value for a score if they didn't participate that week? In the workbook, their scores automatically slide over to the next available score count. For example team A gets a score in week 1 and week 3, can it show "score 1", (blank or zero), then "score 3"?

You are awesome Leith!!! Thanks for your help on this.
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,190
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top