Dec 15 2019 05:26 PM
Trying to generate a formula to add a "Line Number" for each item which relates to a specific Purchase Order Number in another column.
ie; Order # AAA has 5 lines - line 1 Line No = 10000, line 2 = 20000, line 3 = 30000, line 4 = 40000, line 5 = 50000
Order # BBB has 1 line - line 1 Line No = 10000
each new order no would begin back at Line No 10000
Sample Data attached.
Dec 15 2019 06:48 PM
SolutionPlease try this and let me know if this is what you were trying to achieve.
In B2
=COUNTIF(A$2:A2,A2)*10000
and then copy it down.
Dec 15 2019 07:17 PM
Awesome, that worked perfectly! @Subodh_Tiwari_sktneer
Dec 15 2019 09:20 PM
You're welcome! Glad it worked as desired.
Dec 15 2019 06:48 PM
SolutionPlease try this and let me know if this is what you were trying to achieve.
In B2
=COUNTIF(A$2:A2,A2)*10000
and then copy it down.