Page 1 of 1

lag one row every dups

Posted: Sun Jan 23, 2022 5:44 pm
by sna
Hi there,

I can create a helper column then sort to insert one row below each dups.here I want a formula to skip one row every each dups.

TY

I attach a sample as well

Re: lag one row every dups

Posted: Sun Jan 23, 2022 8:36 pm
by snasui
:D Try this

Cell B2

=IFERROR(IF(COUNTIF($A$2:$A$15,B1)=COUNTIF(B$1:B1,B1),"",INDEX($A$2:$A$15,ROWS($B$2:B2)-COUNTIF(B$1:B1,""))),"")

Enter and copy down.

Re: lag one row every dups

Posted: Mon Jan 24, 2022 4:53 am
by sna
Thank you 😊