Formula for Result table to show name only once, this is taken from main data table with lots repeat name records

Leicester City Fox

Board Regular
Joined
Oct 7, 2016
Messages
91
Office Version
  1. 2019
Platform
  1. Windows
Hi there

I have a result table that shows the names people and their point totals and this is takes this information from the main data table:

Result Table example :

Name (Column A) (Points total Colum B)

Dave 10

Sue 5

Paul 15

(New Name only Added if unique once added to main data table and or not repeat of the names already recorded)


These names are come from the main data table example below with repeat names



Name Points

Sue 2

Dave 5

Paul 10

Dave 5

Sue 3

Paul 5



I want my result table only to state the unique name once or new ones that are added to the main data table and no matter how main repeats they get.

Any ideas of a simple formula that will only recorded names from the main table into the results table once and news that are not repeats.

Many Thanks

Leicester Fox
 
Last edited by a moderator:

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
How about
Excel Formula:
=IFERROR(INDEX(Main!A2:A100,AGGREGATE(15,6,(ROW(Main!A2:A100)-ROW(Main!A2)+1)/(ISNA(MATCH(Main!A2:A100,A$1:A1,0)))/(Main!A2:A100<>""),1)),"")
 
Upvote 0
I would suggest turning the main table into a formal Excel table, if not already. This option is on the 'Insert' ribbon tab.

Then use formulas like columns D:E for the results table. Drag them down as far as you might ever need. As new names are added in the main table, they will appear (once) in the results table.

22 04 19.xlsm
ABCDE
1MainResults
2NamePointsNamePoints
3Sue2Sue5
4Dave5Dave10
5Paul10Paul15
6Dave5  
7Sue3  
8Paul5  
Unique Names
Cell Formulas
RangeFormula
D3:D8D3=IFERROR(INDEX(Table1[Name],MATCH(0,INDEX(COUNTIF($D$2:D2,Table1[Name]),0),0)),"")
E3:E8E3=IF(D3="","",SUMIF(Table1[Name],D3,Table1[Points]))
 
Upvote 0
Hi Peter

Good Afternoon

I am very grateful the formula worked a treat and works well with tables.

I hope you and your family have a good Easter Break.

Many Thanks & Stay Safe

The Leicester Fox
 
Upvote 0
You're welcome. Glad we could help. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,269
Members
449,075
Latest member
staticfluids

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