+ Reply to Thread
Results 1 to 7 of 7

1, 2, 3, 4, ... 1a, 1b, 1c, ...

  1. #1
    mkengel
    Guest

    1, 2, 3, 4, ... 1a, 1b, 1c, ...

    By dragging the black rectangle at the bottom of a cell, you can
    automatically increase a number by plus one while moving from one cell
    to the next..
    Is it possible in Excel to start, e.g. with 1a, and by dragging, you
    can create new cells with the content 1b, 1c, 1d, ..., 1z ?

    Thank you for any help.
    Michael


  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    You could try Tools Options and Custom lists if this is something you do regularly

    otherwise you could put A in Cell A1 and B in cell B1 then use concatenate to join them in cell C1.

    e.g =A1&B1

    VBA Noob

  3. #3
    Leo Heuser
    Guest

    Re: 1, 2, 3, 4, ... 1a, 1b, 1c, ...

    "mkengel" <[email protected]> skrev i en meddelelse
    news:[email protected]...
    > By dragging the black rectangle at the bottom of a cell, you can
    > automatically increase a number by plus one while moving from one cell
    > to the next..
    > Is it possible in Excel to start, e.g. with 1a, and by dragging, you
    > can create new cells with the content 1b, 1c, 1d, ..., 1z ?
    >
    > Thank you for any help.
    > Michael
    >


    Hi Michael

    One way:

    Rowwise.
    In A1:
    =1&CHAR(97+ROW()-ROW($A$1))

    Copy A1 down with the fill handle.

    If you start in e.g. K3:
    =1&CHAR(97+ROW()-ROW($K$3))


    Columnwise.
    In A1:
    =1&CHAR(97+COLUMN()-COLUMN($A$1))

    Copy A1 to the right.

    If you start in e.g. K3:
    =1&CHAR(97+COLUMN()-COLUMN($K$3))


    --
    Best regards
    Leo Heuser

    Followup to newsgroup only please.



  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    or

    =IF(ISERROR(COLUMN()&CHOOSE(MOD(ROW(),27),"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z")),"Next Row",COLUMN()&CHOOSE(MOD(ROW(),27),"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"))

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    or

    =COLUMN($A$1)&CHOOSE(IF((MOD(ROW(),26))=0,26,((MOD(ROW(),26)))),"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z")

  6. #6
    Gord Dibben
    Guest

    Re: 1, 2, 3, 4, ... 1a, 1b, 1c, ...

    If you want to go past 1Z try this formula.

    =1&LOWER(SUBSTITUTE(ADDRESS(1,ROW(A1),4),"1",""))

    Will take you to 1iv

    Don't remember who came up with this one, just passing along.


    Gord Dibben MS Excel MVP


    On Thu, 27 Jul 2006 10:40:09 +0200, "Leo Heuser"
    <[email protected]> wrote:

    >"mkengel" <[email protected]> skrev i en meddelelse
    >news:[email protected]...
    >> By dragging the black rectangle at the bottom of a cell, you can
    >> automatically increase a number by plus one while moving from one cell
    >> to the next..
    >> Is it possible in Excel to start, e.g. with 1a, and by dragging, you
    >> can create new cells with the content 1b, 1c, 1d, ..., 1z ?
    >>
    >> Thank you for any help.
    >> Michael
    >>

    >
    >Hi Michael
    >
    >One way:
    >
    >Rowwise.
    >In A1:
    >=1&CHAR(97+ROW()-ROW($A$1))
    >
    >Copy A1 down with the fill handle.
    >
    >If you start in e.g. K3:
    >=1&CHAR(97+ROW()-ROW($K$3))
    >
    >
    >Columnwise.
    >In A1:
    >=1&CHAR(97+COLUMN()-COLUMN($A$1))
    >
    >Copy A1 to the right.
    >
    >If you start in e.g. K3:
    >=1&CHAR(97+COLUMN()-COLUMN($K$3))



  7. #7
    Gord Dibben
    Guest

    Re: 1, 2, 3, 4, ... 1a, 1b, 1c, ...

    If you want to go past 1Z try this formula.

    =1&LOWER(SUBSTITUTE(ADDRESS(1,ROW(A1),4),"1",""))

    Will take you to 1iv

    Don't remember who came up with this one, just passing along.


    Gord Dibben MS Excel MVP


    On Thu, 27 Jul 2006 10:40:09 +0200, "Leo Heuser"
    <[email protected]> wrote:

    >"mkengel" <[email protected]> skrev i en meddelelse
    >news:[email protected]...
    >> By dragging the black rectangle at the bottom of a cell, you can
    >> automatically increase a number by plus one while moving from one cell
    >> to the next..
    >> Is it possible in Excel to start, e.g. with 1a, and by dragging, you
    >> can create new cells with the content 1b, 1c, 1d, ..., 1z ?
    >>
    >> Thank you for any help.
    >> Michael
    >>

    >
    >Hi Michael
    >
    >One way:
    >
    >Rowwise.
    >In A1:
    >=1&CHAR(97+ROW()-ROW($A$1))
    >
    >Copy A1 down with the fill handle.
    >
    >If you start in e.g. K3:
    >=1&CHAR(97+ROW()-ROW($K$3))
    >
    >
    >Columnwise.
    >In A1:
    >=1&CHAR(97+COLUMN()-COLUMN($A$1))
    >
    >Copy A1 to the right.
    >
    >If you start in e.g. K3:
    >=1&CHAR(97+COLUMN()-COLUMN($K$3))



+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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