+ Reply to Thread
Results 1 to 13 of 13

How to convert a column number into another column cell

  1. #1
    Registered User
    Join Date
    12-27-2013
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    7

    How to convert a column number into another column cell

    Dear users,

    A column:
    18
    42
    55
    11
    65
    72
    80
    48
    ..
    I want to put/write to B column the some numbers (42,11,72,48..) in A column.
    B column:
    =A2
    =A4
    =A6
    =A8
    ..
    How can I achieve it?

  2. #2
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: How to convert a column number into another column cell

    One way
    Assume your data runs in A1 down
    Put in B1: =INDEX(A:A,ROW()*2)
    Copy down
    ------------------------
    Any good? Wave it, click on the little star at the bottom left of my responses

  3. #3
    Registered User
    Join Date
    12-27-2013
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: How to convert a column number into another column cell

    It is giving error:
    We found a problem with this formula. Try clicking Insert Function .....
    Last edited by ahmedo047; 12-27-2013 at 03:48 AM.

  4. #4
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: How to convert a column number into another column cell

    It may be the Excel version you are using ?
    Try changing the comma in the formula to a semi colon, viz: =INDEX(A:A;ROW()*2)
    My excel uses commas as separators
    Last edited by Max, Singapore; 12-27-2013 at 03:52 AM.

  5. #5
    Registered User
    Join Date
    12-27-2013
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: How to convert a column number into another column cell

    Last command works. Sorry I asked the wrong question. I want to put/write to B column the some numbers (42,65,80,95,,,) in A column.
    A B
    18 42
    42 65
    55 80
    11 95
    65
    72
    80
    48
    95
    102

  6. #6
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: How to convert a column number into another column cell

    What is the logic behind the selection of those numbers? Perhaps you could explain

  7. #7
    Registered User
    Join Date
    12-27-2013
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: How to convert a column number into another column cell

    I have to select A2,A5,A7,A9,A11..... There is a steady increase after first selection.

  8. #8
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: How to convert a column number into another column cell

    Try this then ...
    In B1: =A2
    In B2: =INDEX($A$4:$A$1000,ROWS($1:1)*2)
    Copy B2 down. Modify the $A$1000 to suit the extent of your data

  9. #9
    Registered User
    Join Date
    12-27-2013
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: How to convert a column number into another column cell

    you are wonderful. Thanks. It works.

  10. #10
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: How to convert a column number into another column cell

    welcome, glad it worked for you

  11. #11
    Registered User
    Join Date
    12-27-2013
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: How to convert a column number into another column cell

    Sorry last question:
    If I have to select A1249,A2501,A3753,A5005,A6257..... how can I achieve it?

  12. #12
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: How to convert a column number into another column cell

    You could use this in say B1: =INDEX($A$1249:$A$10000,ROWS($1:1)*1252-1251)
    Copy down

  13. #13
    Registered User
    Join Date
    12-27-2013
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: How to convert a column number into another column cell

    Thank you very much. It works

+ 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. [SOLVED] VBA to convert cell to text and ensuring 7 digit number all along in entire column.
    By shiva_reshs in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-19-2013, 09:35 AM
  2. Replies: 10
    Last Post: 07-12-2010, 08:55 AM
  3. convert column number to column letter
    By ilkamalo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-21-2009, 04:35 AM
  4. Convert column number to letter
    By gtmeloney in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-08-2009, 11:13 AM
  5. Convert a column into a number of rows
    By ArranMoffat in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2005, 12:33 PM

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