default_name
Board Regular
- Joined
- May 16, 2018
- Messages
- 180
- Office Version
- 365
- 2016
- Platform
- Windows
- MacOS
If I have a spreadsheet like this (below), is there a way to display the top recurring item (from cells A, B and C) in the cells in Column D, like so?
I added notes on the right side.
[TABLE="class: grid, width: 700"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A
[/TD]
[TD="align: center"]B
[/TD]
[TD="align: center"]C
[/TD]
[TD="align: center"]D
[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]1
[/TD]
[TD="align: center"]Group A Item(s)
[/TD]
[TD="align: center"]Group B Item(s)
[/TD]
[TD="align: center"]Group D Item(s)
[/TD]
[TD="align: center"]Top Recurring Item
[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]2
[/TD]
[TD="align: center"]Apple
Orange
Taco
[/TD]
[TD="align: center"]Cheese
[/TD]
[TD="align: center"]Apple
Mayo
Ham
[/TD]
[TD="align: center"]Apple
[/TD]
[TD="align: center"]<--This is an example of ONE obvious result...since all items are listed only once, except Apple (which appears twice)
[/TD]
[/TR]
[TR]
[TD="align: center"]3
[/TD]
[TD="align: center"]Apple
Beef
Cheese
Soda
[/TD]
[TD="align: center"]Soda
Plum
Cups
[/TD]
[TD="align: center"]Apple
Soda
Chili
[/TD]
[TD="align: center"]Soda
[/TD]
[TD="align: center"]<--Although Soda appears 3 times, and Apple appears 2 times, Soda would be outputted since 3>2
[/TD]
[/TR]
[TR]
[TD="align: center"]4
[/TD]
[TD="align: center"]Orange
Chicken
Flour
[/TD]
[TD="align: center"]Spam
[/TD]
[TD="align: center"]Mayo
Parsely
[/TD]
[TD="align: center"]No Recurring Items
[/TD]
[TD="align: center"]<--Since there aren't any recurring items in these cells, the result is just text stating the obvious
[/TD]
[/TR]
[TR]
[TD="align: center"]5
[/TD]
[TD="align: center"]Tomato
Flour
Mustard
Fries
Bread
[/TD]
[TD="align: center"]Taco
Turkey
Flour
[/TD]
[TD="align: center"]Bread
Corn
[/TD]
[TD="align: center"]Bread
Flour
[/TD]
[TD="align: center"]<--This is an example of a tie. Bread appears twice, as does Flour. As a result of a tie, both Bread and Flour are outputted.
[/TD]
[/TR]
</tbody>[/TABLE]
Is this even possible?
Thanks in advance for your help!
I added notes on the right side.
[TABLE="class: grid, width: 700"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A
[/TD]
[TD="align: center"]B
[/TD]
[TD="align: center"]C
[/TD]
[TD="align: center"]D
[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]1
[/TD]
[TD="align: center"]Group A Item(s)
[/TD]
[TD="align: center"]Group B Item(s)
[/TD]
[TD="align: center"]Group D Item(s)
[/TD]
[TD="align: center"]Top Recurring Item
[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]2
[/TD]
[TD="align: center"]Apple
Orange
Taco
[/TD]
[TD="align: center"]Cheese
[/TD]
[TD="align: center"]Apple
Mayo
Ham
[/TD]
[TD="align: center"]Apple
[/TD]
[TD="align: center"]<--This is an example of ONE obvious result...since all items are listed only once, except Apple (which appears twice)
[/TD]
[/TR]
[TR]
[TD="align: center"]3
[/TD]
[TD="align: center"]Apple
Beef
Cheese
Soda
[/TD]
[TD="align: center"]Soda
Plum
Cups
[/TD]
[TD="align: center"]Apple
Soda
Chili
[/TD]
[TD="align: center"]Soda
[/TD]
[TD="align: center"]<--Although Soda appears 3 times, and Apple appears 2 times, Soda would be outputted since 3>2
[/TD]
[/TR]
[TR]
[TD="align: center"]4
[/TD]
[TD="align: center"]Orange
Chicken
Flour
[/TD]
[TD="align: center"]Spam
[/TD]
[TD="align: center"]Mayo
Parsely
[/TD]
[TD="align: center"]No Recurring Items
[/TD]
[TD="align: center"]<--Since there aren't any recurring items in these cells, the result is just text stating the obvious
[/TD]
[/TR]
[TR]
[TD="align: center"]5
[/TD]
[TD="align: center"]Tomato
Flour
Mustard
Fries
Bread
[/TD]
[TD="align: center"]Taco
Turkey
Flour
[/TD]
[TD="align: center"]Bread
Corn
[/TD]
[TD="align: center"]Bread
Flour
[/TD]
[TD="align: center"]<--This is an example of a tie. Bread appears twice, as does Flour. As a result of a tie, both Bread and Flour are outputted.
[/TD]
[/TR]
</tbody>[/TABLE]
Is this even possible?
Thanks in advance for your help!