Looking for a solution to have sequence number that has to be written on three-digits like 001, 002 etc and the sequence has to be reset with the change of month. Also the same has to be prefixed with defined characters along with month & year of the day.
I could think of the prefix logic using concatenate but not abe to figure out the way to add 3 digit sequence number having reset mechanism with the change of month
CONCATENATE(โMB-INVโ, TEXT([Date], โyymmโ), _______)
Any suggestion?
Solved! Go to Solution.
I figured out a way to do this where I wanted to have the value of column [Rececipt Number] in sequence and the sequence shall reset to 1 at the change of month.
CONCATENATE("" &"MB/PMT/" &text(A3,"yymm") &TEXT(IF(MONTH(A3)=MONTH(A2),VALUE(RIGHT(N2,3))+1,1),"000"))
The only catch is that the value of 1st row would show as kind of error, which I personly handled by manually setting the value to MB/PMT/2012000. This value in above snapshot has been set manually
The issue of same value by two users would be handled through the key as UNIQUEID()
User | Count |
---|---|
14 | |
11 | |
9 | |
7 | |
4 |