Hi Dear All,
I have an excel sheet that is feeded by an Access table, so the number of the rows is variable.
I am looking for a code that calculate IDs based on the first ID (123 in this example).
So, the idea is to replace 1000 with (123 + 1) and 2000 with (123 + 1 +1) .. to the last column that is not empty.
The first ID is always in A2 Range.
[TABLE="width: 500, align: center"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Name[/TD]
[/TR]
[TR]
[TD]123[/TD]
[TD]TEST1[/TD]
[/TR]
[TR]
[TD]1000[/TD]
[TD]TEST2[/TD]
[/TR]
[TR]
[TD]2000[/TD]
[TD]TEST3[/TD]
[/TR]
[TR]
[TD]3000[/TD]
[TD]TEST4[/TD]
[/TR]
[TR]
[TD]4000[/TD]
[TD]TEST5[/TD]
[/TR]
</tbody>[/TABLE]
Thank you in advance
I have an excel sheet that is feeded by an Access table, so the number of the rows is variable.
I am looking for a code that calculate IDs based on the first ID (123 in this example).
So, the idea is to replace 1000 with (123 + 1) and 2000 with (123 + 1 +1) .. to the last column that is not empty.
The first ID is always in A2 Range.
[TABLE="width: 500, align: center"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Name[/TD]
[/TR]
[TR]
[TD]123[/TD]
[TD]TEST1[/TD]
[/TR]
[TR]
[TD]1000[/TD]
[TD]TEST2[/TD]
[/TR]
[TR]
[TD]2000[/TD]
[TD]TEST3[/TD]
[/TR]
[TR]
[TD]3000[/TD]
[TD]TEST4[/TD]
[/TR]
[TR]
[TD]4000[/TD]
[TD]TEST5[/TD]
[/TR]
</tbody>[/TABLE]
Thank you in advance