ylafont

New Member
Joined
Jun 21, 2016
Messages
36
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Can anyone let me know what formula i can use to create an order based on a column? The example below uses the Family column to order the sets in number sequence (order column) and increment by 1 each time the number changes. Than you in advance, much appreciated.


OrderDateFamilyID
12002-02-19_08-24-10AATE0126004AATE0126004
22002-02-19_08-24-10AATE0126004AATE0126005
32002-10-22_09-15-55REL_0005073411REL_0005073411
32002-10-22_09-15-55REL_0005073411REL_0005073424
32002-10-22_09-15-55REL_0005073411REL_0005073425
40000-00-00_00-00-00MCK-HC-00008784MCK-HC-00008784
40000-00-00_00-00-00MCK-HC-00008784MCK-HC-00008785
50000-00-00_00-00-00MCK-HC-00019139MCK-HC-00019202
50000-00-00_00-00-00MCK-HC-00019139MCK-HC-00019210
50000-00-00_00-00-00MCK-HC-00019139MCK-HC-00019212
50000-00-00_00-00-00MCK-HC-00019139MCK-HC-00019222
50000-00-00_00-00-00MCK-HC-00019139MCK-HC-00019228
50000-00-00_00-00-00MCK-HC-00019139MCK-HC-00019233
62010-10-16 16-23-00REL_0000850265REL_0000850265
62010-10-16 16-23-00REL_0000850265REL_0000850267
72010-10-16 22-19-07REL_0003552712REL_0003552712
72010-10-16 22-19-07REL_0003552712REL_0003552714
82010-10-18 16-53-24REL_0000812081REL_0000812081

<colgroup><col><col><col span="2"></colgroup><tbody>
</tbody>
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Not sure why you first two Order numbers are different, when the family numbers are the same (I am assuming that it is a typo).

Assuming your Order is in column A, your Family is in column C, and the actual data starts on row 2, try this:
- Enter a 1 in cell A2
- In A3, enter thois formula and copy down for all rows
Code:
=IF(C3=C2,A2,A2+1)
 
Last edited:
Upvote 0
Type on my part. I should have thought about that i little harder. Thank you for eh quick response.
 
Upvote 0

Forum statistics

Threads
1,215,568
Messages
6,125,599
Members
449,238
Latest member
wcbyers

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top