+ Reply to Thread
Results 1 to 6 of 6

fill a column with values from 2 columns in excel

  1. #1
    Registered User
    Join Date
    05-22-2009
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    6

    fill a column with values from 2 columns in excel

    I want fill a column continuously with values from 2 columns

    Col A Col B

    1 4
    3 6
    7 8
    9 11
    10 14


    Result
    1
    4
    3
    6
    7
    8
    9
    11
    10
    14
    Last edited by shejintr; 03-17-2012 at 08:52 PM.

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: fill a column with values from 2 columns in excel

    Try...
    Please Login or Register  to view this content.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: fill a column with values from 2 columns in excel

    A non-macro solution. With values in columns A:B,put this formula in G1 and copy down:

    =INDEX(A:B, CEILING(ROW()/2,1), MOD((ROW()+1),2)+1)
    Last edited by JBeaucaire; 03-18-2012 at 09:46 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    05-22-2009
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: fill a column with values from 2 columns in excel

    Thanks . It works

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: fill a column with values from 2 columns in excel

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  6. #6
    Registered User
    Join Date
    02-11-2013
    Location
    Tallinn
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: fill a column with values from 2 columns in excel

    Could someone actually do this ASAP to C column of the file attached using INDEX function, because I get an error message saying bad formula every single time I try. It would really help me to understand the logic of this.

    Thanks in advance!
    Attached Files Attached Files
    Last edited by Intrekid; 02-11-2013 at 02:00 PM.

+ 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