wrighty998
New Member
- Joined
- Jan 31, 2018
- Messages
- 35
please help i need a formula that will assign a id number if the 3 coloumns match i have 700 lines of data each week to sort
INPUT
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]id
[/TD]
[TD]customer
[/TD]
[TD]area
[/TD]
[TD]address
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]blue lane
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]blue lane
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]red lane
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]peter
[/TD]
[TD]2
[/TD]
[TD]blue lane
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]blue lane
[/TD]
[/TR]
</tbody>[/TABLE]
OUTPUT
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]id
[/TD]
[TD]customer
[/TD]
[TD]area
[/TD]
[TD]address
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]blue lane
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]blue lane
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]red lane
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]red lane
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]peter
[/TD]
[TD]2
[/TD]
[TD]blue lane
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]blue lane
[/TD]
[/TR]
</tbody>[/TABLE]
INPUT
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]id
[/TD]
[TD]customer
[/TD]
[TD]area
[/TD]
[TD]address
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]blue lane
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]blue lane
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]red lane
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]peter
[/TD]
[TD]2
[/TD]
[TD]blue lane
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]blue lane
[/TD]
[/TR]
</tbody>[/TABLE]
OUTPUT
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]id
[/TD]
[TD]customer
[/TD]
[TD]area
[/TD]
[TD]address
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]blue lane
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]blue lane
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]red lane
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]red lane
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]peter
[/TD]
[TD]2
[/TD]
[TD]blue lane
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]bob
[/TD]
[TD]1
[/TD]
[TD]blue lane
[/TD]
[/TR]
</tbody>[/TABLE]