How to group specimen records without merging incomplete rows
Two complete records can share a group when every required field matches. In this fictional inventory, S1 and S2 match across eight traits. S3 forms a separate group. S4 and S5 have blanks in different fields and need review.
Fictional records
| Sample | Color | Shape | Feature | Surface | Length | Orientation | Pattern | Edge |
|---|---|---|---|---|---|---|---|---|
| S1 | red | circle | absent | smooth | short | upright | single | none |
| S2 | red | circle | absent | smooth | short | upright | single | none |
| S3 | red | triangle | absent | smooth | short | upright | single | none |
| S4 | red | absent | smooth | short | upright | single | none | |
| S5 | red | absent | smooth | short | upright | single | none |
What to check
- Mark the eight required trait columns. Preserve the original row and sample ID.
- Review empty required fields before making groups. Keep recorded values such as absent and none as text values.
- Compare complete rows field by field in the same column order. Joining only nonblank values can collapse different field positions into the same key.
Worked result
Samples!B2:I3 supplies the matched group and B4:I4 the separate one. Samples!C5 and D6 are the missing cells. Repeat with a value containing the delimiter if you use a string key.