+ Reply to Thread
Results 1 to 2 of 2

Power Query: combine sheets from different workbook

  1. #1
    Registered User
    Join Date
    07-09-2018
    Location
    australia
    MS-Off Ver
    2016
    Posts
    1

    Power Query: combine sheets from different workbook

    Hi,

    Trying to combine 2 sheets from separate workbooks, and match the information on both of them. Context:

    Book1 has IP address (and other relevant information) from XXX.XXX.XX.11 to XXX.XXX.XX.61
    Book2 has IP address XXX.XXX.XX.01 to XXX.XXX.XX.252

    I want to match the IP addresses, then have the info from Book2 go into Book1. I've managed to do this with Power query. However, it messes up my IP address order because Book 1 starts at .11 and Book 2 starts at .01. The 'sort and filter' doesn't work because it can't tell the difference between 0.19 and .190. How do I fix this? I can't figure it out. THanks.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,640

    Re: Power Query: combine sheets from different workbook

    Welcome to the forum!

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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: 0
    Last Post: 07-03-2018, 05:33 PM
  2. Sub-Forum for Excel Power Tools (Power Query, Power Pivot & Power BI)
    By chullan88 in forum Suggestions for Improvement
    Replies: 10
    Last Post: 06-28-2018, 02:25 PM
  3. [SOLVED] Power Query loading sheets inconsistently
    By armlegx in forum Excel General
    Replies: 9
    Last Post: 05-08-2018, 01:24 PM
  4. Replies: 1
    Last Post: 11-06-2017, 12:42 AM
  5. Merge Sheets Power Query
    By morerockin in forum Excel General
    Replies: 8
    Last Post: 04-11-2017, 08:17 AM
  6. Macro to convert Power Query Worksheet to standard workbook
    By Brawnystaff in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-01-2015, 01:34 AM

Tags for this Thread

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