+ Reply to Thread
Results 1 to 10 of 10

vlookup, match or if in conditional formatting or similar

  1. #1
    Registered User
    Join Date
    02-18-2014
    Location
    london, england
    MS-Off Ver
    Excel 2010
    Posts
    57

    Lightbulb vlookup, match or if in conditional formatting or similar

    Hello,

    I have two registers of files in two database systems. They are exported from both database systems into two excel worksheets.
    I need to check if files are in both systems. Files must match both name and revision number. It would be perfect if it could pick up
    the reference number from database 2 if there is a match and place it in list of database 1.

    Please see sample attached.

    Hope you can help me

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: vlookup, match or if in conditional formatting or similar

    Please see attached file.
    Attached Files Attached Files
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    02-18-2014
    Location
    london, england
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: vlookup, match or if in conditional formatting or similar

    Thanks for that, but is it possible to insert the reference Database 2 into Database 1 worksheet?

    Meaning if B2 & C2 of 'Database 1' match C2 & D2 of 'Database 2', then in 'Database 1' cell D2 import value of 'Database 2' B2.
    That's where I got stuck.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: vlookup, match or if in conditional formatting or similar

    Could provide an example of the final result you want on the spreadsheet?

  5. #5
    Registered User
    Join Date
    02-18-2014
    Location
    london, england
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: vlookup, match or if in conditional formatting or similar

    That should be the result. In 'Database 1' column D should be imported values from column B of the 'Database 2'
    IF they match both - 'Database 1 Reference' AND 'Revision' in both sheets.
    Attached Files Attached Files

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: vlookup, match or if in conditional formatting or similar

    It only needed to change index reference. Please see attached file.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    02-18-2014
    Location
    london, england
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: vlookup, match or if in conditional formatting or similar

    It's not working. Because each entry has a unique 'Database 2' reference number and they can not be same with any other. The formula chooses matching revision only, not the reference number in of 'Database 1'..

  8. #8
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: vlookup, match or if in conditional formatting or similar

    Ok, I see what the problem is. Please use formula below

    This formula doesn't require Ctrl+Shift+Enter.

    =IFERROR(INDEX('Database 2'!$B$2:$B$166,MATCH(B2&C2,INDEX('Database 2'!$C$2:$C$166&'Database 2'!$D$2:$D$166,0),0)),"Not Found")

  9. #9
    Registered User
    Join Date
    02-18-2014
    Location
    london, england
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: vlookup, match or if in conditional formatting or similar

    Oh wowowow.. It works!!!! Thank You!

  10. #10
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: vlookup, match or if in conditional formatting or similar

    You're welcome and thank you for the feedback!

+ 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. Need help with Conditional formatting and VLookup/Match
    By jmcole in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-12-2014, 09:15 PM
  2. [SOLVED] Conditional formatting based on VLOOKUP/INDEX:MATCH
    By strud in forum Excel General
    Replies: 2
    Last Post: 06-13-2013, 07:02 AM
  3. [SOLVED] Conditional formatting based on VLOOKUP & HLOOKUP or MATCH
    By Joss.Terrell in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-27-2012, 11:43 PM
  4. Replies: 2
    Last Post: 04-03-2012, 08:51 AM
  5. Vlookup, match, conditional formatting?
    By tt13181 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-22-2007, 09:01 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