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
50 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
32 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
15 Replies
Dev channel update to 80.0.355.1 is live
josh_bodner in Discussions on
67 Replies