+ Reply to Thread
Results 1 to 7 of 7

Combine 2 columns into 1

Hybrid View

  1. #1
    Registered User
    Join Date
    08-23-2012
    Location
    Canada
    MS-Off Ver
    Excel 2017
    Posts
    25

    Combine 2 columns into 1

    I have a very long spreadsheet documenting all drawings required at work, and I need to combine those two columns into one (eg placing all subdrawings into the install drawing column). How do I do that quickly without having to copy and paste one by one? There are never 2 items on the same row, only 1 item so don't have to worry about overwriting


    Install drawing
    Sub drawing
    Sub drawing
    Install drawing
    Sub drawing
    Sub drawing
    Sub drawing
    Install drawing
    Install drawing
    Sub drawing
    Install drawing
    Sub drawing
    Install drawing
    Sub drawing
    Sub drawing

  2. #2
    Forum Contributor
    Join Date
    11-12-2014
    Location
    Boston, MA
    MS-Off Ver
    Office 2010
    Posts
    172

    Re: Combine 2 columns into 1

    Assuming your first row that you need to do this is row 2, insert this formula in cell C2:
    Formula: copy to clipboard
    =IF(A2="",B2,A2)


    Press Enter, then single-click on C2 again. Hover over the bottom right corner until your cursor turns into a little black plus sign, then double click. That should automatically insert the formula into every cell to the bottom of your table. If it doesn't, then instead of double clicking, just click, hold, and drag all the way to the bottom of the list.

    Hope that helps!

  3. #3
    Registered User
    Join Date
    08-23-2012
    Location
    Canada
    MS-Off Ver
    Excel 2017
    Posts
    25

    Re: Combine 2 columns into 1

    Quote Originally Posted by AstToTheRegionalMGR View Post
    Assuming your first row that you need to do this is row 2, insert this formula in cell C2:
    Formula: copy to clipboard
    =IF(A2="",B2,A2)


    Press Enter, then single-click on C2 again. Hover over the bottom right corner until your cursor turns into a little black plus sign, then double click. That should automatically insert the formula into every cell to the bottom of your table. If it doesn't, then instead of double clicking, just click, hold, and drag all the way to the bottom of the list.

    Hope that helps!
    Thank you, that is quite a simple solution. Is there a built in function in excel somewhere that does this or the simpliest way is the formula you shared?

  4. #4
    Registered User
    Join Date
    08-23-2012
    Location
    Canada
    MS-Off Ver
    Excel 2017
    Posts
    25

    Re: Combine 2 columns into 1

    Quote Originally Posted by AstToTheRegionalMGR View Post
    Assuming your first row that you need to do this is row 2, insert this formula in cell C2:
    Formula: copy to clipboard
    =IF(A2="",B2,A2)


    Press Enter, then single-click on C2 again. Hover over the bottom right corner until your cursor turns into a little black plus sign, then double click. That should automatically insert the formula into every cell to the bottom of your table. If it doesn't, then instead of double clicking, just click, hold, and drag all the way to the bottom of the list.

    Hope that helps!
    Thank you, that is quite a simple solution. Is there a built in function in excel somewhere that does this or the simpliest way is the formula you shared?

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Combine 2 columns into 1

    Why not just Cut (or copy) the whole of column B, paste it underneath the last item in Column A and sort column A.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  6. #6
    Forum Contributor
    Join Date
    11-12-2014
    Location
    Boston, MA
    MS-Off Ver
    Office 2010
    Posts
    172

    Re: Combine 2 columns into 1

    That's how I would do it, but Richard Buttrey's solution is good too. Probably might be better if you aren't comfortable using the formula

  7. #7
    Forum Contributor
    Join Date
    11-12-2014
    Location
    Boston, MA
    MS-Off Ver
    Office 2010
    Posts
    172

    Re: Combine 2 columns into 1

    Assuming your first row that you need to do this is row 2, insert this formula in cell C2:
    Formula: copy to clipboard
    =IF(A2="",B2,A2)


    Press Enter, then single-click on C2 again. Hover over the bottom right corner until your cursor turns into a little black plus sign, then double click. That should automatically insert the formula into every cell to the bottom of your table. If it doesn't, then instead of double clicking, just click, hold, and drag all the way to the bottom of the list.

    Hope that helps!

+ 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. Replies: 11
    Last Post: 12-08-2015, 06:33 PM
  2. Replies: 6
    Last Post: 11-25-2015, 01:01 PM
  3. combine columns with text, move over columns with number
    By ammartino44 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-30-2015, 02:58 PM
  4. Macro to combine multiple columns keeping few columns specific
    By lramesh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-16-2013, 12:44 PM
  5. MAcro to - copy, transpose, text to columns, remove column A, combine all columns in 1
    By galvinpaddy in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 02-07-2013, 08:48 AM
  6. Replies: 1
    Last Post: 02-13-2012, 08:08 PM
  7. Replies: 0
    Last Post: 07-31-2006, 12:13 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