+ Reply to Thread
Results 1 to 4 of 4

Checking two data sets that are in completly different formats??

  1. #1
    Forum Contributor
    Join Date
    10-31-2010
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    150

    Checking two data sets that are in completly different formats??

    Hi all im not to sure where to start here, i've wrote some real basic vba up till now, but im struggling to work out the logic of what I want to do.

    I currently have 2 sheets named SYSTEM and FINALs and to simplify the query lets say two columns, one with account number and the other with BOM,

    what I need to do is check that the FINALS sheets has the same BOM value as the SYSTEMS sheet. the problem I have is on the finals sheets the BOM value maybe I202 F200 D400 all in the same cell. but on the SYSTEMS sheet there would be 3 different rows one with I202 the next with F200 and so on. I need to highlight any job on the FINALS sheet that has a diiferent total value to the SYSTEMS sheet. Can someone point me in the right direction on how to approach this.

    Ive attached an example workbook with a few line eachs, my actually data set would have around 6000 lines on systems and maybe 1500 on finals.
    Attached Files Attached Files

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Checking two data sets that are in completly different formats??

    Give this a try

    Please Login or Register  to view this content.
    Last edited by mike7952; 11-26-2012 at 11:29 AM.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Checking two data sets that are in completly different formats??

    hi bopsgtir, option, press Run button or run code "test"
    Attached Files Attached Files
    Last edited by watersev; 11-26-2012 at 11:50 AM. Reason: file reposted

  4. #4
    Forum Contributor
    Join Date
    10-31-2010
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    150

    Re: Checking two data sets that are in completly different formats??

    Thank you both for some great code, ive got exactly what I needed

+ 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