+ Reply to Thread
Results 1 to 7 of 7

Using a Vlookup with a Hlookup(maybe)

  1. #1
    Registered User
    Join Date
    05-28-2014
    Posts
    6

    Using a Vlookup with a Hlookup(maybe)

    Im having problems trying to create this formula and not really sure how to go about doing it.

    Cells B5=B13 are never in the same order in a download I do daily. The C5=G13 are usually the same part, but sometimes they will change. I'm trying to make a template to tell if the part changes I will be able to find out. Sheet1 is a different order than Sheet two and I need to confirm the numbers are the same.Book1.xlsx

    So When I download the document, I want to copy the information into the template and have it correspond to a previous document that should be correct. If any number is different it will flag me with a " Value" or something.


    So here what I was trying to do. Use a Vlookup for B5=B13 and then a hlookup for C5=G5 for B5.

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Using a Vlookup with a Hlookup(maybe)

    See attached example, I used conditional formatting to highlight changes, based on using a vlookup/match technique.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-28-2014
    Posts
    6

    Re: Using a Vlookup with a Hlookup(maybe)

    NICE!
    Thats exactly what I;m looking for

  4. #4
    Registered User
    Join Date
    05-28-2014
    Posts
    6

    Re: Using a Vlookup with a Hlookup(maybe)

    is there a way I can grab the formula from you

  5. #5
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Using a Vlookup with a Hlookup(maybe)

    Check in the conditional formatting, the formula should be stored in there, for C5 I used:
    =NOT(C5=VLOOKUP($A5,$A$17:$G$25,MATCH(C$4,$A$16:$G$16,0),0))

  6. #6
    Registered User
    Join Date
    05-28-2014
    Posts
    6

    Re: Using a Vlookup with a Hlookup(maybe)

    Thanks This will give me a start on it. It looks like Ill have to tinker with it abit.

    This wont show the number if the numbers are the same, correct? Also this doesnt link to the first sheet, correcT?




    Thanks so much for the help. I've spent a couple hours trying to work on this, but didn't get very far.

  7. #7
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Using a Vlookup with a Hlookup(maybe)

    This will highlight numbers in the table that are different and leave the other ones the same. In the example I posted I copied both tables to the same sheet so it was easier to see what was going on but you can add sheet references like so:
    'Sheet1'!$A$17:$G$25

+ 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. Vlookup plus Hlookup
    By ASPERO in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-26-2011, 09:12 PM
  2. Vlookup And Hlookup
    By PhilD in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-20-2008, 08:54 AM
  3. [SOLVED] VLookup & HLookup
    By [email protected] in forum Excel General
    Replies: 2
    Last Post: 10-03-2005, 11:05 AM
  4. How do I use Vlookup or Hlookup?
    By exsam21 in forum Excel General
    Replies: 2
    Last Post: 09-23-2005, 03:05 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