+ Reply to Thread
Results 1 to 5 of 5

Column Match

  1. #1
    Registered User
    Join Date
    06-23-2013
    Location
    Brazil
    MS-Off Ver
    Excel 2003
    Posts
    12

    Column Match

    Hi everyone!

    I'm creating this macro to help me at work, but I got stuck this point, every day I receive this spreadsheet which I have to make sure Type/Model (Column A) matches Quote Line (Column B). Works like this;

    When 9993005 is a Type/Model, Quote Line must be equal 0157. If Type/Model is 999E005, Quote Line must be 0156. Same for values below;

    If Type/Model - Quote Line must be

    DELD646 – 0172
    DELN3A6 – 0169
    XHWDOEM – 0190

    It would be nice have a tool that could check if Type/Model matches Quote Line, just check not fix. Any Idea of what kind of formulas or conditional formats I could use?

    Many thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Column Match

    With VLookup.

    See the change of the blue cell.

    The result is in the green cells.

    See the attached file.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Column Match

    Hi,

    See if this Vlookup and If formula will help instead of doing a macro. See the example.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Column Match

    You could try the following conditional formatting

    =AND($A1 = "9993005", $B1 = "0157") =FALSE and apply this to all column B.

    Then add additional rules for your other pairs
    Martin

  5. #5
    Registered User
    Join Date
    06-23-2013
    Location
    Brazil
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Column Match

    Thank you so much everybody!

    You guys are awesome! :D

+ 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: 4
    Last Post: 02-19-2013, 02:19 PM
  2. [SOLVED] Two Excel sheets trying to match text data and return the match from the second column!
    By bankcott in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-02-2013, 02:17 PM
  3. Replies: 6
    Last Post: 12-10-2012, 06:26 PM
  4. Replies: 4
    Last Post: 10-07-2012, 06:56 AM
  5. Replies: 4
    Last Post: 12-14-2009, 03:21 PM

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