Results 1 to 11 of 11

Comparing columns and highlighting differences

Threaded View

Sejrup Comparing columns and... 09-01-2010, 06:20 AM
StephenR Re: Comparing columns and... 09-01-2010, 06:55 AM
Sejrup Re: Comparing columns and... 09-01-2010, 07:00 AM
snb Re: Comparing columns and... 09-01-2010, 07:06 AM
venkat1926 Re: Comparing columns and... 09-01-2010, 07:05 AM
StephenR Re: Comparing columns and... 09-01-2010, 07:09 AM
Sejrup Re: Comparing columns and... 09-01-2010, 08:47 AM
StephenR Re: Comparing columns and... 09-01-2010, 08:58 AM
Sejrup Re: Comparing columns and... 09-01-2010, 09:15 AM
snb Re: Comparing columns and... 09-01-2010, 09:18 AM
Sejrup Re: Comparing columns and... 09-01-2010, 09:24 AM
  1. #1
    Registered User
    Join Date
    08-11-2010
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2003
    Posts
    5

    Comparing columns and highlighting differences

    Hi guys

    First off! Thanks for an excellent forum. Been using it quite a bit during the last month and will continue to do so in the future.

    My first post here is about comparing the contents of different columns in a sheet. There are two sets of data that needs to be compared.

    The setup is as follows.

    Every time a factory completes an order it is shipped to a warehouse. Everytime this happens they register the outgoing shipment using a date, reference number and an amount.

    When the order is received at the warehouse they do a similar registration adding additional data as well.

    And as stated above I would like to compare the reference numbers to see if they are present. If they match I should then look at the amount registered to each reference number.

    If there are reference numbers present in either dataset my idea is to color the entire row red (or something like that).
    If the reference number is present but the amount doesn't match this line should get a different color.

    I have made a simple, not very good comparison macro, that writes directly to the sheet in a new column (not included in the current code).

    But this is a cumbersome process and I would like to think that it could be done using arrays, the find function or something similar.

    In the current code I have created two arrays containing the the information from the factory and the warehouse. Don't know if this is a step in the right direction or not but I'm hoping you guys could tell me

    Kind regards
    Michael
    Attached Files Attached Files

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