How to increment alphanumeric string by 1 for each cell in Excel?
For example, I have a cell with an alphanumeric string “KTE-16CN-0001-skyyang”, and now, I want to drag and increment the alphanumeric by 1 to fill the cells like this: “KTE-16CN-0002-skyyang, KTE-16CN-0003-skyyang… ”If I drag the fill handle directly, the cells will not be increment, how could I fill the cells with increment alphanumeric in Excel?
In fact, the normal autofill handle can’t help us to finish this job, but, you can apply a formula to deal with it, please do as this:
Please enter this formula: ="KTE-16CN-"&TEXT(ROWS($1:1),"0000")&"-skyyang" into any cell you need, and then drag the fill handle down to the cells that you want to fill the increment alphanumeric strings to get the following result:
Note: In the above formula: the text “KTE-16CN-” and the “-skyyang” are the constant of your text string, you can change them to your needed text, and the number “0000” is the variable which will be increased by dragging the fill handle, and you can also change it to your needed starting number.
If you are confused by the above formula, here, I will introduce you a handy tool- Kutools for Excel. With its Insert Sequence Number utility, you can achieve this task quickly and easily.
|Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.|
After installing Kutools for Excel, please do as follows:
1. Select a column or a range that you want to fill the cells with increment alphanumeric string.
2. Then click Kutools > Insert > Insert Sequence Number, see screenshot:
3. In the Insert Sequence Number dialog box, please click New button to expand the dialog, see screenshot:
4. In the expanded Insert Sequence Number dialog box, do the following operations:
(1.) Enter a Name for this sequence as you need;
(2.) Specify the start number, increment and number of digits as your needed;
(3.) At last, you can enter the prefix and suffix of your text string.
5. Then click Add button to add this sequence to the above list box, and click Fill Range button, the sequence increment text strings will be filled into the selected cells, see screenshot:
You are guest
or post as a guest, but your post won't be published automatically.
To post as a guest, your comment is unpublished.· 3 years agoNice Post! I Want To Know How Increment Alphanumeric String By 2 Or More For A Column With Formula?