I have a list of duplicate cases (column A). Both duplicates have information that the other may or may not have. I would like to somehow merge the duplicate cases and return the non empty value corresponding to the attribute. Additionally, I would like to carry over the cell color (pretend the number colors below are the cell fill colors). Is this possible? See below
[TABLE="width: 500, align: center"]
<tbody>[TR]
[TD]Original data[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Case[/TD]
[TD]Attribute1[/TD]
[TD]Attribute2[/TD]
[TD]Attribute3[/TD]
[TD]Attribute4[/TD]
[TD]Attribute5[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]36[/TD]
[TD](blank)[/TD]
[TD]3[/TD]
[TD]AO[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD](blank)[/TD]
[TD]apple[/TD]
[TD]3[/TD]
[TD]AO[/TD]
[TD](blank)[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD](blank)[/TD]
[TD]orange[/TD]
[TD](blank)[/TD]
[TD](blank)[/TD]
[TD]85[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]61[/TD]
[TD](blank)[/TD]
[TD]3[/TD]
[TD]AD[/TD]
[TD](blank)[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]54[/TD]
[TD]orange[/TD]
[TD](blank)[/TD]
[TD]BL[/TD]
[TD]40[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD](blank)[/TD]
[TD](blank)[/TD]
[TD]4[/TD]
[TD](blank)[/TD]
[TD](blank)[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500, align: center"]
<tbody>[TR]
[TD]Output I am looking for[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Case[/TD]
[TD]Attribute1[/TD]
[TD]Attribute2[/TD]
[TD]Attribute3[/TD]
[TD]Attribute4[/TD]
[TD]Attribute5[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]36[/TD]
[TD]apple[/TD]
[TD]3[/TD]
[TD]AO[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]61[/TD]
[TD]orange[/TD]
[TD]3[/TD]
[TD]AD[/TD]
[TD]85[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]54[/TD]
[TD]orange[/TD]
[TD]4[/TD]
[TD]BL[/TD]
[TD]40[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500, align: center"]
<tbody>[TR]
[TD]Original data[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Case[/TD]
[TD]Attribute1[/TD]
[TD]Attribute2[/TD]
[TD]Attribute3[/TD]
[TD]Attribute4[/TD]
[TD]Attribute5[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]36[/TD]
[TD](blank)[/TD]
[TD]3[/TD]
[TD]AO[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD](blank)[/TD]
[TD]apple[/TD]
[TD]3[/TD]
[TD]AO[/TD]
[TD](blank)[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD](blank)[/TD]
[TD]orange[/TD]
[TD](blank)[/TD]
[TD](blank)[/TD]
[TD]85[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]61[/TD]
[TD](blank)[/TD]
[TD]3[/TD]
[TD]AD[/TD]
[TD](blank)[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]54[/TD]
[TD]orange[/TD]
[TD](blank)[/TD]
[TD]BL[/TD]
[TD]40[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD](blank)[/TD]
[TD](blank)[/TD]
[TD]4[/TD]
[TD](blank)[/TD]
[TD](blank)[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500, align: center"]
<tbody>[TR]
[TD]Output I am looking for[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Case[/TD]
[TD]Attribute1[/TD]
[TD]Attribute2[/TD]
[TD]Attribute3[/TD]
[TD]Attribute4[/TD]
[TD]Attribute5[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]36[/TD]
[TD]apple[/TD]
[TD]3[/TD]
[TD]AO[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]61[/TD]
[TD]orange[/TD]
[TD]3[/TD]
[TD]AD[/TD]
[TD]85[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]54[/TD]
[TD]orange[/TD]
[TD]4[/TD]
[TD]BL[/TD]
[TD]40[/TD]
[/TR]
</tbody>[/TABLE]