+ Reply to Thread
Results 1 to 7 of 7

Reverse of what my vlookup does

  1. #1
    Forum Contributor
    Join Date
    12-08-2013
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2010
    Posts
    117

    Reverse of what my vlookup does

    Hi all
    I have a vlookup which checks to see if a value is present in 'Order Tracking Sheet' and it works.... How do I rewrite this to show when a value in the tracking sheet doesn't match where my data is? Eg removed. What happens now is the we have a sheet that "displays data", we also have a "dump sheet" for our fresh data downloads. My vlookup shows if the data in the "dump sheet" isn't on the "display sheet". What i need is to show on the "display sheet" if the data is no longer in the "data bump" sheet.

    Appreciate your help.

    Dave

    =VLOOKUP(B37,'ORDER TRACKING SHEET'!A:A,1,FALSE)

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,204

    Re: Reverse of what my vlookup does

    If I have understood correctly, your formula will return #N/A if the value in B37 is not on the order tracking sheet. Or have I not got what you're getting at? Probably not ...
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    47,997

    Re: Reverse of what my vlookup does

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Is that what you're looking for?


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


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

    Re: Reverse of what my vlookup does

    Advice

    'ORDER TRACKING SHEET'!A:A

    Don't use full columns for the VLookup, it will slow down the performance of the file.

    use a range which is long enough e.g.

    'ORDER TRACKING SHEET'!A1:A15000
    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.

  5. #5
    Forum Contributor
    Join Date
    12-08-2013
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2010
    Posts
    117

    Re: Reverse of what my vlookup does

    Thanks guys

    Thinking about this some more and what I'd really like to see a line in the "ORDER TRACKING SHEET" change color if its no longer in the "SAP DUMP" sheet. I tried this with conditional formatting but couldn't get to work.

    How hard is it to do it this way?

    Thanks Dave

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Reverse of what my vlookup does

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Reverse of what my vlookup does

    Quote Originally Posted by oeldere View Post

    Don't use full columns for the VLookup, it will slow down the performance of the file.
    On my machine, in Excel 2002, I filled columns A and B with random data.

    I tested these two formulas:

    Formula 1: =VLOOKUP(D1,A1:B900,2,0)

    Formula 2: =VLOOKUP(D1,A:B,2,0)

    Here are the calculation times for the formulas:

    Data Range
    E
    F
    1
    Formula 1
    Formula 2
    2
    0.00017
    0.00017
    3
    0.00017
    0.00017
    4
    0.00018
    0.00018
    5
    0.00018
    0.00017
    6
    0.00017
    0.00017
    7
    0.00017
    0.00017


    The lookup value was on row 850.

    As you can see the calculation times are almost identical whether referencing entire columns or a smaller specific range.

    I used Charles Williams calculation range_timer method found here:

    http://msdn2.microsoft.com/en-us/library/aa730921.aspx
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Reverse VLOOKUP?
    By artistapart in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-20-2013, 03:12 PM
  2. Reverse VLOOKUP
    By sinspawn56 in forum Excel General
    Replies: 10
    Last Post: 11-15-2012, 01:53 AM
  3. Reverse vlookup
    By roodra.verma in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 08-01-2011, 01:47 AM
  4. [SOLVED] vlookup in reverse
    By Newbie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-30-2006, 08:25 AM
  5. Reverse VLookup?
    By Tom Atkisson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-02-2005, 06:06 AM

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