Find rows/groups with unique values and return

rajamdade

New Member
Joined
Jun 14, 2014
Messages
35
Office Version
  1. 2016
Platform
  1. Windows
I am having 127 columns and 405 rows. A row consist of a group and column has individual (value of the cell consist of = "Unique accession | individual name or Species") as given below.

[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Groups[/TD]
[TD]Individuals
(Unique accession | individual name or Species)[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Group[ 0 ][/TD]
[TD]FN13|Olea_europaea[/TD]
[TD]FN13|Olea_europaea[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Group[ 1 ][/TD]
[TD]EF17|Codium_arabicum[/TD]
[TD]EF18|Codium_arabicum[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Group[ 2 ][/TD]
[TD]EF11|Codium_duthieae[/TD]
[TD]EF12|Codium_duthieae[/TD]
[TD]EF19|Codium_arabicum[/TD]
[/TR]
[TR]
[TD]Group[ 3 ][/TD]
[TD]JN37|Rhazya_stricta[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

In result section, I need to have comments as below by matching the species column to the table:

If Same species are grouped together and not found in any other group then : TRUE

If Same species are grouped together but also found in other group then : AMBIGUOUS

If Multiple species are grouped together then : INCORRECT

If only one individual of representative species, this species in not in any other group then : SINGLETON

[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Species list[/TD]
[TD]Comment (Result)[/TD]
[/TR]
[TR]
[TD]Codium_arabicum[/TD]
[TD]AMBIGUOUS
[/TD]
[/TR]
[TR]
[TD]Codium_duthieae[/TD]
[TD]INCORRECT[/TD]
[/TR]
[TR]
[TD]Olea_europaea[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]Rhazya_stricta[/TD]
[TD]SINGLETON[/TD]
[/TR]
</tbody>[/TABLE]

Kindly, suggest formula to comment as above.
 
Last edited:

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,224,820
Messages
6,181,154
Members
453,021
Latest member
Justyna P

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