+ Reply to Thread
Results 1 to 4 of 4

An alternative to a Vlookup

  1. #1
    Registered User
    Join Date
    03-30-2016
    Location
    USA
    MS-Off Ver
    2016
    Posts
    50

    An alternative to a Vlookup

    I need help with the following scenario.

    Suppose I have an excel spreadsheet with the following properties.
    In column A, I have a list of names.
    In column B, I have a list of order statuses.

    The same name may be in column A once or multiple times. For example, "John Doe" may appear on row 3 with "Put in order" in column B. Then John Doe may appear 2 or three more times in say... rows 10, 17, and 21 with "Called about order", "Picked up order" and "Filled out survey".

    Suppose I want to know the most recent thing John Doe did, how would I figure that out?

    A vlookup won't work because his name is on there multiple times. In the above example, I want to be able to put in another cell "John Doe" and get back "Filled out survey" because that's the most recent thing that happened. Assuming column B only has 3 or 5 different options, how would I get that "John Doe / Filled out survey" information?

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,784

    Re: An alternative to a Vlookup

    Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.

  3. #3
    Registered User
    Join Date
    03-30-2016
    Location
    USA
    MS-Off Ver
    2016
    Posts
    50

    Re: An alternative to a Vlookup

    Can't do that, I'm afraid. The actual spreadsheet has client data. I can only speak abstractly and use "John Doe". Not trying to cause any data breaches.

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,621

    Re: An alternative to a Vlookup

    In the cell with the VLookup use, like:
    =LOOKUP(2,1/SEARCH(NameList,LookupName),ActionsList)
    modified with appropriate range addresses
    Ben Van Johnson

+ 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. [SOLVED] VLookUp alternative
    By RookA1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-20-2020, 02:23 PM
  2. vba vlookup alternative
    By xam99 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-26-2020, 03:51 AM
  3. [SOLVED] VBA Alternative to Vlookup??
    By snuffnchess in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-26-2020, 01:23 PM
  4. Alternative to Vlookup?
    By C_P in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-06-2013, 07:19 AM
  5. Vlookup for VBA... Or Alternative?
    By Darth269 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-10-2012, 04:24 PM
  6. Alternative to Vlookup
    By Fat Al in forum Excel General
    Replies: 2
    Last Post: 02-09-2012, 09:39 AM
  7. [SOLVED] alternative to VLOOKUP
    By Thierry in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-03-2006, 04:55 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