Auto incrementing alphanumeric cell by 1

Solved/Closed
suryam - 15 Apr 2011 à 12:23
 suryam - 29 Apr 2011 à 00:43
Hello,
I have an alpha numeric cell in excel sheet. for example IND/APR/6734/INV
I am using it to give number to the invoce that I generate everyday. once I finish the printing and saving the invoice , new invoice will come. I am manually incrementing the number in the third portion of the field. for example next number 6735 etc..Is there any method to auto increment it so that I can get IND/APR/6735/INV ... when I use the invoice template the next time. please help me . thanks suryam


4 responses

venkat1926 Posts 1863 Registration date Sunday 14 June 2009 Status Contributor Last seen 7 August 2021 811
15 Apr 2011 à 22:31
suppose this invoice number is in G1 in sheet1
in sheet 2 in G1 type this formula

=LEFT(Sheet1!G1,8)&MID(Sheet1!G1,9,4)+1&RIGHT(Sheet1!G1,4)

you will get

IND/APR/6735/INV

do something like this .

remember in May you have to change APR to MAY