I dont often use excel so I am not particularly proficient in it. I need a formula to assist me with batch number generating. Ideally I would like it to punch in the date in Coloumn A and have it generate a batch number with the year and month then some text and then a number allocation. so for example 1210mea01. This would need to roll over from the previous month, so for example in November it would need to start at 1211mea01 again.
I have found a formula on another thread but i cant seem to modify it correctly to suit my purposes. That formula is
=IF(OR(A2="",ISERROR(MONTH(A2))),"",RIGHT(YEAR(A2),1) & TEXT(MONTH(A2),"00") & TEXT(IF(OR(LEN(B1)<3,ISERROR(VALUE(B1))),1,IF(MONTH(A2)=VALUE(MID(B1,2,2)),VALUE(RIGHT(B1,3))+1,1)),"000"))
Hope someone can help me.![]()
Bookmarks