Extract records that don't match
Eliminate Pivot Table Annoyances
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 6 of 6

Thread: Extract records that don't match

  1. #1
    New Member
    Join Date
    Mar 2002
    Posts
    48
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I have a table that has values that I need to compare. The table is as follows:

    Warehouse Item Price1 Price2...

    So I have the same product in multiple warehouses and I want to make sure the prices match exactly. If they don't I want the rows highlighted. The file has about 10 warehouses and several dozen products and is a couple of thousand lines long.

    I tried doing this by having a conditional format that said if cell value does not equal cell value of row above then highlight, hoping that when I autofiltered the list it would reference the cell above it on the FILTERED list, instead it still referenced the cell above it befoire the filter so that did not work. Any ideas on how to handle this?

    Thank you.

    Tony

  2. #2
    Board Regular
    Join Date
    Mar 2002
    Location
    London, UK
    Posts
    167
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    What does the data look like exactly? Your question makes it look like:

    column A warehouse
    column B Item
    column C price
    column D price2

    ...if so, what are the prices you want to compare across rows?

  3. #3
    New Member
    Join Date
    Mar 2002
    Posts
    48
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I want to compare all prices for the same item regardless of the warehouse they are in. I want to highlight any price discrepencies between items. In other words for all rows that have itemX all Price1 should be the same, all price2 should be the same etc.

  4. #4
    Board Regular
    Join Date
    Mar 2002
    Location
    London, UK
    Posts
    167
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    okay i see, how many columns after B are you comparing for rows of like ItemID, and do you want the whole row to highlight or just the cells that are non-matching?

    I can write you some VBA.

  5. #5
    New Member
    Join Date
    Mar 2002
    Posts
    48
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I am comparing 20 rows across. And I would like the cells that are not matching to be highlighted.

    Also, not sure if this makes it two hard, but I currently hand seperate the warehouses by region, can you have it do comparisons seperately for warehouses in the southwest region vs the northwest region (this is column A in the original sheet, I break it out manually).

  6. #6
    Board Regular
    Join Date
    Mar 2002
    Location
    London, UK
    Posts
    167
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    send me the worksheet if you like i'll have a look, am sure there is an easy solution for you else i'll code you something....

    david@monnetqos.com

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com