Sorting Ecommerce Option Values

New Contributor

Hello Everyone,


We've got an excel file from our eCommerce site with 10,000 rows of option values sorted by the product ID. There are multiple rows for each product ID but the number of rows for product ID each varies. We would like to insert a 1 in a new row / column every time the product ID changes.


Is there a formula we could use to do this?


I've attached a screen shot.


Any help would be appreciated. Thanks.

2 Replies



You may use in A2


select column A starting from A2 till end of your range and Ctrl+D


Thank you Sergei!

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies