Hello Again,
i am looking for a help in find the least value among duplicate values in multiple columns. Below is my conditions to marked least value.
Condition 1 - If staff no is duplicated in same Account no.s with multiple Id No's then Flag the lowest ID No.
Example1 ? Staff no. 7176967 need to put remark on ID No 0 for deletion.
Condition 2 - *If staff no. is duplicated in different account no.s with different ?staff effective date?*then flag the lower ?staff effective date? to delete.
Example ? member no. 387144 need to put remark on ?staff effective date? 25-01-2023. (Staff shifted from one department to another by cancelation and adding again with the new date).
copy of sample file with expecting output is attached for your reference.
Bookmarks