+ Reply to Thread
Results 1 to 13 of 13

2 SPREADSHEETS, Different rows, duplicate data - lookup help needed

  1. #1
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    2 SPREADSHEETS, Different rows, duplicate data - lookup help needed

    Hi all,

    I have 2 spreadsheets.

    'File attachment 1' and 'File attachment 2'. Can someone guide me on how to do lookups beteween the two files because I have duplicate data in columns such as prod (column B), description (column C), BC (column D) and BC description (column E)

    I am trying to ascertain which lines have different values in column I on file attachment 1 file.

    To begin I inserted columns on file attachment 1, to ascertain whether the same Prod exists in File attachment 2 (simple case of '=' symbol and starting at cell B15 in file attachment 2, and doing an IF formula on cell G2 to say whether the values matched between file attachment 1 and file attachment 2.

    However when I find they don't match, I don't think I know what to do next.

    Can anyone suggest a better way of doing this? my data set is 16,000 rows so i've trimmed this massivvely

    the duplicate data is necessary because there could be multiple prods with different data (so they're still technically unique)

    Thank you!
    Last edited by rayted; 01-19-2024 at 05:16 AM.
    Thanks,

    R.



  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,888

    Re: 2 SPREADSHEETS, Different rows, duplicate data - lookup help needed

    No attachments.
    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.

  3. #3
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: 2 SPREADSHEETS, Different rows, duplicate data - lookup help needed

    Attachments - didn't notice these didn't go through the first time!
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: 2 SPREADSHEETS, Different rows, duplicate data - lookup help needed

    Sorry Ali - no idea how that didn't go through, I didn't notice! Uploaded now. thank you!

  5. #5
    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,888

    Re: 2 SPREADSHEETS, Different rows, duplicate data - lookup help needed

    Can both files be OPEN when the comparisons are being done, or must this work with their being CLOSED?

    However when I find they don't match, I don't think I know what to do next.
    I don't know what you want to happen next, so unfortunately I can't help until you say what that is.
    Last edited by AliGW; 01-19-2024 at 05:34 AM.

  6. #6
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: 2 SPREADSHEETS, Different rows, duplicate data - lookup help needed

    Hi Ali,

    Yes I guess so - I just want a definitive answer ...

    which leads me to the next point I`m ultimately trying to have 1 file where I know all the lines and crucially trying to ensure that 'prod' (column B) if they have duplicates in column B i.e 123, 123, the values in the column for BCatgry should have THE SAME VALUES i.e. blue and blue it can't blue and green

    My issue is my starting point of the files not being exactly the same hence why I can't start/unsure how to start

  7. #7
    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,888

    Re: 2 SPREADSHEETS, Different rows, duplicate data - lookup help needed

    It can be done either way, but whichever way you prefer will dictate the solutions offered.

    Why not just combine the two and then filter to unique values?

    You could do the combining with PowerQuery if the workbooks are closed, or copy data from one workbook into the other and then use the UNIQUE function in 365 to eliminate duplicate rows.

  8. #8
    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,888

    Re: 2 SPREADSHEETS, Different rows, duplicate data - lookup help needed

    Given the two workbooks attached, can you please mock up manually what you would want the final result to be? Show us the data you'd want left after comparing and filtering. If I can see what you want, I can provide a solution, but I am not 100% sure what that is yet.

  9. #9
    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,888

    Re: 2 SPREADSHEETS, Different rows, duplicate data - lookup help needed

    So for example, in the attached I have combined the two sets of data and then pulled unique rows - is this anything close to what you want?

  10. #10
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: 2 SPREADSHEETS, Different rows, duplicate data - lookup help needed

    Hi Ali,

    That could be one of way of starting. Putting it all in one sheet but clearly outlining whether it's from attachment 1 or attachment 2. Let me do this and revert back with a new case if need be for the 2nd part of my investigation.

    Thanks for this!

  11. #11
    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,888

    Re: 2 SPREADSHEETS, Different rows, duplicate data - lookup help needed

    OK. That's easily done, especially with PowerQuery.

  12. #12
    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,888

    Re: 2 SPREADSHEETS, Different rows, duplicate data - lookup help needed

    You have marked this as solved - but it isn't yet. Pleae don't open a new thread on the same issue!

  13. #13
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: 2 SPREADSHEETS, Different rows, duplicate data - lookup help needed

    All good now Ali. No further actions needed thanks again

+ 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. Highlight cells of duplicate data from two spreadsheets
    By G56709 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-14-2016, 12:30 AM
  2. Duplicate Data in separate spreadsheets
    By FarmerTED in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 05-14-2015, 11:45 AM
  3. [SOLVED] Merging Spreadsheets and keeping duplicate rows
    By Flightlink in forum Excel General
    Replies: 2
    Last Post: 08-16-2014, 09:18 AM
  4. [SOLVED] Comparing 2 Spreadsheets to Identify duplicate rows
    By eagle670 in forum Excel General
    Replies: 6
    Last Post: 04-09-2013, 10:13 AM
  5. VBA helps needed to Sum duplicate values and delete duplicate rows
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-03-2013, 11:40 PM
  6. Finding Duplicate Rows in 2 spreadsheets
    By eagle670 in forum Excel General
    Replies: 2
    Last Post: 06-11-2012, 01:00 PM
  7. Replies: 3
    Last Post: 07-29-2011, 02:14 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