Forum Discussion
sherikhan88
Nov 01, 2022Copper Contributor
Formula to count based on creteria but next creteria count should start from 2, instead of 1
Hi, I've a situation. below is a table in which I have put a count in running count using COUNTIFS($A$2:A2,A2,$B$2:B2,B2) and then nested the same in F column to uniquely identify the sku IF(COUN...
- Nov 01, 2022
This solution doesn't require those helper columns:
=IF(COUNTIFS($A$2:A2,A2,$C$2:C2,C2)=1,XMATCH(C2,UNIQUE(FILTER($C$2:$C$9,$A$2:$A$9=A2))),0)
Patrick2788
Nov 01, 2022Silver Contributor
This solution doesn't require those helper columns:
=IF(COUNTIFS($A$2:A2,A2,$C$2:C2,C2)=1,XMATCH(C2,UNIQUE(FILTER($C$2:$C$9,$A$2:$A$9=A2))),0)
sherikhan88
Nov 01, 2022Copper Contributor
@Amazing, That is incredible. Thank you so much Patrick.
- Patrick2788Nov 02, 2022Silver ContributorYou are welcome!