+ Reply to Thread
Results 1 to 9 of 9

Combining two sets of data

  1. #1
    Registered User
    Join Date
    11-03-2021
    Location
    Helsinki, Finland
    MS-Off Ver
    2019
    Posts
    3

    Combining two sets of data

    I have two sets of data that I need to combine. In this example, I have data in G4, G6, G8, G10 and G12, i.e. in every two rows. I also have data in F5, F7, F9 and F11. How can I quickly move the data from the F column to the empty cells of G5, G7, G9 and G11. Attached is the Excel file with the situation.

    Thank you for your help.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-02-2020
    Location
    Idaho, USA
    MS-Off Ver
    365
    Posts
    274

    Re: Combining two sets of data

    Formulas would be really easy. Here is a sample file with the numbers in column D. You only have to put the first 2 formulas in, select both cells, and drag down as far as you need.
    Attached Files Attached Files

  3. #3
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2502 and WPS V2024(12.1.0.18543)
    Posts
    3,842

    Re: Combining two sets of data

    Cell L4 formula , Drag down

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Combining two sets of data

    Any column but same line as number 1 and drag down:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Spill array:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by DJunqueira; 11-19-2021 at 12:21 AM. Reason: The spill formula tested ok.

  5. #5
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    3,168

    Re: Combining two sets of data

    Just another option:

    =NUMBERVALUE(TEXTJOIN("",TRUE,F4:G4))

    If you didn't care about them being numbers, you could use:

    =TEXTJOIN("",TRUE,F4:G4)

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2502
    Posts
    13,700

    Re: Combining two sets of data

    Edit: Slight improvement to my formula.

    Just another way ... similar philosophy as DJunqueira's
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by FlameRetired; 11-19-2021 at 12:38 AM.
    Dave

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2502
    Posts
    13,700

    Re: Combining two sets of data

    Another way without formula.

    1. Select F4:F12
    2. Hit F5 function key (GoTo feature)
    3. Click the Special ... button
    4. Click the Blanks radio button
    5. Hit Enter
    6. Hit Ctrl + "-" (minus key) on the numeric keypad
    7. Select Shift cells left
    8. Click OK

  8. #8
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Combining two sets of data

    Quote Originally Posted by FlameRetired View Post
    Another way without formula.
    1. Select F4:F12
    2. Hit F5 function key (GoTo feature)
    3. Click the Special ... button
    4. Click the Blanks radio button
    5. Hit Enter
    6. Hit Ctrl + "-" (minus key) on the numeric keypad
    7. Select Shift cells left
    8. Click OK
    Hehe, nice one.

  9. #9
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2502
    Posts
    13,700

    Re: Combining two sets of data

    @ DJunqueira
    Glad you liked it.

+ 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. Combining Two Data Sets
    By Abdul Moix in forum Excel General
    Replies: 3
    Last Post: 10-28-2020, 09:50 AM
  2. Combining 2 sets of data using Name field
    By harrowerjohn in forum Excel General
    Replies: 3
    Last Post: 07-11-2020, 11:33 AM
  3. Combining to sets of data with different x axis'
    By dxg169 in forum Excel General
    Replies: 6
    Last Post: 02-16-2015, 01:32 PM
  4. [SOLVED] Combining two unlike sets of data
    By smls in forum Excel General
    Replies: 4
    Last Post: 07-09-2012, 11:22 AM
  5. Combining two data sets
    By Teacher in forum Excel General
    Replies: 10
    Last Post: 09-11-2011, 12:11 PM
  6. combining two data sets
    By pani_hcu in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-29-2009, 12:43 PM
  7. Combining two sets of data
    By chrmlr2 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-28-2009, 09:41 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