+ Reply to Thread
Results 1 to 6 of 6

Autofill series - 11 character limit?

  1. #1
    Registered User
    Join Date
    03-25-2014
    Location
    Alabama
    MS-Off Ver
    Excel MAC 2011
    Posts
    39

    Autofill series - 11 character limit?

    Hi everyone,

    I wonder if someone can help me with an issue I'm having. I'm trying to create an alpha numeric series that will later be pulled from the database to create a barcode. The element is 12 characters Starting @ "C10000000000" and continuing through "C10000011999"
    If I delete a character from the element I can type the first few entries into a column and use the handle to generate the series automatically. If I have twelve characters it simply copies the ones I typed in manually over and over. The attached screenshot shows two populated columns the one on the left (A) is the number that DOES NOT work. The one on the right works fine, and as I said if I make the "C" number 11 characters if works perfectly.

    Can someone help me with a macro or some other method of creating this series?

    Edit: I don't know if it matters but I'm on a Mac.
    Attached Images Attached Images

  2. #2
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Autofill series - 11 character limit?

    In A2 enter C10000000000

    In A3 use this formula-
    ="C"&SUBSTITUTE(A2,"C","")+1

    and copy down

    Note- This would work only if "C" is the alphabet in the beginning of code.
    Attached Files Attached Files
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  3. #3
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    696

    Re: Autofill series - 11 character limit?

    Use "Go to" function (Ctrl+G) to mark the last cell, reference as "A12000" or "B12000" or the colum reference where you want the series no. and enter anthing. This is just for marking.

    Enter the below forumula and double click.
    ="C"&100000000000+ROW(1:1)

  4. #4
    Registered User
    Join Date
    03-25-2014
    Location
    Alabama
    MS-Off Ver
    Excel MAC 2011
    Posts
    39

    Re: Autofill series - 11 character limit?

    Quote Originally Posted by sourabhg98 View Post
    In A2 enter C10000000000

    In A3 use this formula-
    ="C"&SUBSTITUTE(A2,"C","")+1

    and copy down

    Note- This would work only if "C" is the alphabet in the beginning of code.
    Thanks so much sourabhg98! Worked like a charm.

    Shareez Saleem, I'm not sure I understand how your method works. I tried it, but didn't get anything. I'm not sure I did it correctly.

  5. #5
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    696

    Re: Autofill series - 11 character limit?

    Please refer the sheet.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Autofill series - 11 character limit?

    another way may be
    ="C"&9999999999+ROWS($A$1:A1) and drag down
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Character Limit
    By Dylan Moran in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-26-2014, 01:15 PM
  2. [SOLVED] Character Limit
    By Phyxius in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 02-17-2014, 08:57 AM
  3. [SOLVED] Autofill a formula with a series to start next row at the end of the previous series
    By mbkr29 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-19-2013, 01:20 PM
  4. [SOLVED] Autofill a formula with a series to start next row at the end of the previous series
    By mbkr29 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-19-2013, 11:51 AM
  5. Display Active Character Count + Limit Character Per Cell
    By euronail in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2011, 04:59 AM
  6. Replies: 1
    Last Post: 01-13-2011, 02:29 PM
  7. [SOLVED] 255 Character Limit
    By Colin in forum Excel General
    Replies: 2
    Last Post: 03-02-2006, 04:00 PM
  8. [SOLVED] 255 character limit
    By Noah in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-23-2006, 11:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1