Question

I have a sorted section of my spreadsheet and am trying to take it from

Name1 C32 5000
Name1 C28 2500
Name1 C72 900
Name2 C540 500
Name2 C320 900
Name3 C28 2500
Name3 C32 900

to

Name1 C32 5000
      C28 2500
      C72 900
Name2 C540 500
      C320 900
Name3 C28 2500
      C32 900

The area is always changing in size depending on what product the names have and the quantity they have. As well as how many names there are. The ideal solution would be for the extra duplicate names to be erased for viewing purposes automatically.

Thanks for the help.

Was it helpful?

Solution

You can use COUNTIF function with relative referencing of cells to achieve this. The following formula will populate the first occurrence of the Name column only

=if(COUNTIF($A$1:$A1,A1)=1,A1,"")

Here is a working example

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top