Hi,
I am having an excel data where a serial number is required based on a particular column value.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Serial Number[/TD]
[TD]Batch[/TD]
[TD]New Serial Number[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]010869GN9[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]053332AR3[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]785870XE1[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]46625HJT834[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]010869GN9[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]76886PES8[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]785870XE1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]053332AR3[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I want when the first batch number comes there should be a serial number accordingly to it. Even if it get repeated many times there should be only 1 serial number on the first instance.
I am having an excel data where a serial number is required based on a particular column value.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Serial Number[/TD]
[TD]Batch[/TD]
[TD]New Serial Number[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]010869GN9[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]053332AR3[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]785870XE1[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]46625HJT834[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]010869GN9[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]76886PES8[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]785870XE1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]053332AR3[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I want when the first batch number comes there should be a serial number accordingly to it. Even if it get repeated many times there should be only 1 serial number on the first instance.