
Originally Posted by
Gregb11
Well, this might get the conversation started so I put together a solution with assumptions. Actually there are 2 solutions I attached. Both solutions require a couple of helper columns (to have the values in Cols C&D repeat downward. I put these in Cols F&G. Cell F2 is this:
=IF(B2="",F1,B2)
And similarly in G2:
=IF(C2="",G1,C2)
The first solutions shows the 4 elements you're wanting based on the Unique numbers in ColB, so in H2 entered:
=FILTER(UNIQUE(B2:B30),UNIQUE(B2:B30)<>0)
Then in I2 (for locus_tag), I entered:
=XLOOKUP($H2&I$1,$F$2:$F$38&$D$2:$D$38,$E$2:$E$38,"")
This formula I copied across and down as needed.
See attached.
(The other solution also in the attached, just assumes the Unique rows are a combination of column B and C. See this solution in columns N:S in the attached.
Bookmarks