Thread: vlookup
View Single Post
  #1   Report Post  
Herbert Seidenberg
 
Posts: n/a
Default

Hi Frans
Like your array, I visualized an array with repeats in the first column
and random entries or blanks in assigned columns:
Who Tag_a Tag_b Tag_c Tag_d
Art aa
Art ab
Art ad
Bud ba
Bud bc
Bud bb
Cid cb
Cid cc cd
Dan dc
Dan db
Dan da dd

The result should be:
Who Tag_a Tag_b Tag_c Tag_d
Art aa ab ad
Bud ba bb bc
Cid cb cc cd
Dan da db dc dd

My approach was to fill all the blanks in a tag column belonging to the
same person with the data appearing somewhere in that tag column, and
then deleting duplicate rows.
The formula refers to column locations only one cell away, so iteration
is needed to fill the rest of the cells. Five iterations are needed in
this example. Think of it as automata calculations.
R1C1 notation maintains the wording of the formula independent of its
location and makes it more readable.
Solutions to erasing duplicate rows have been provided by gurus
previously.