Hi There,
(PBDU2338842001) – this is a consignment number and the prefix before the number is a standard lettering but does not vary, however the number after the prefix are randomly generated, what i am trying to do is to generate 10 different consignment numbers with having the last number on the right of cell changed.
Consignment Number Number of Characters in a cell Criteria
PBDU2338842001 =LEN (PBDU2338842001) = 14 10
Example: PBDU2338842001, 002,003,004,005 and so on,
I know we can use the fill handle to drag it down and it would do this, but in some instance it does work, is they any way of adding the last three numbers with having the criteria of 10 or 5
If a cell has PBDU2338842001, and 10 of these items
PBDU2338842001
PBDU2338842002
PBDU2338842003
PBDU2338842004
PBDU2338842005
PBDU2338842006
PBDU2338842007
PBDU2338842008
PBDU2338842009
PBDU2338842010
PBDU2338842011
For example if PBDU2338842001 has 10 items, then it should calculate the formatting as above, i have been trying to do this with custom formatting, but not very successful with it, please any one can show some guidance as I am very novice to excel formula’s.
I have attached a sheet for guidance
Bookmarks