+ Reply to Thread
Results 1 to 5 of 5

How to use a VLookup or a INDEX Match to return a value thats in random cells in column

  1. #1
    Registered User
    Join Date
    03-20-2019
    Location
    London, England
    MS-Off Ver
    MS 365
    Posts
    11

    How to use a VLookup or a INDEX Match to return a value thats in random cells in column

    Hi there,

    I'm on MS 365

    I have a formula problem I am struggling to make sense of.

    I have attached a sheet which illustrates a basic view of the problem.

    On the tab 'Raw Data' I have data coming in form an external source which can not be manipulated, it has to stay as it or it breaks the data source. in that sheet there is a table.
    Column A - Is an ID number specific to a sales person
    Column B - Is the place that person is based
    Column C - Is how long they have worked
    Column D - Is that sales persons client
    Column E - Is their sales value
    Column F - is the name of the sales person on the same row as their ID in column A

    on the second tab 'Worksheet; I have the same table but this time removing the duplicates to only show one instance of the place of work, years active and clients as these are all duplicated on tab 'Raw Data'.
    In column E I need to retrieve the sales person specific to each of those lines, however in raw data the name of the sales person is often in a random position, as such Vlookup or Index match hasnt worked as it looks for the first matching value, which is often a blank.

    I have a third tab which is a reference table of all the sales people and their ID's.

    what formula can I use to find the correct sales person based on the information I have in "Worksheet" as it is.

    Thank you!
    Attached Files Attached Files

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

    Re: How to use a VLookup or a INDEX Match to return a value thats in random cells in colum

    Why have you started a new thread on this?

    I will close yesterday's thread.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    03-20-2019
    Location
    London, England
    MS-Off Ver
    MS 365
    Posts
    11

    Re: How to use a VLookup or a INDEX Match to return a value thats in random cells in colum

    Apologies I'm not great with forums, and I thought I needed to explain myself better, didn't realise I needed to close it sorry.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: How to use a VLookup or a INDEX Match to return a value thats in random cells in colum

    In E2 copied down:

    =FILTER('Raw Data'!$F$2:$F$18,('Raw Data'!$B$2:$B$18=Worksheet!A2)*('Raw Data'!$D$2:$D$18=Worksheet!C2)*('Raw Data'!$F$2:$F$18<>""))

    Apologies I'm not great with forums, and I thought I needed to explain myself better, didn't realise I needed to close it sorry.
    You are not meant to start new threads on the same issue - it has been closed as a duplicate.
    Last edited by AliGW; 05-25-2023 at 07:35 AM.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: How to use a VLookup or a INDEX Match to return a value thats in random cells in colum

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. using index match or vlookup to return an image
    By jml2 in forum Excel General
    Replies: 4
    Last Post: 11-20-2019, 11:59 PM
  2. [SOLVED] SUMPRODUCT, using INDEX MATCH to find column, return #Value with blank cells
    By Giegie in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-09-2019, 05:13 AM
  3. MATCH value to multiple ranges and return different VLOOKUP column index
    By orvikon in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-05-2017, 06:22 PM
  4. [SOLVED] Vlookup/index/match to return all values that match
    By Asil01 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-09-2014, 12:49 PM
  5. VLOOKUP/INDEX/MATCH to return all values that match
    By lijia00 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-05-2014, 11:56 AM
  6. [SOLVED] Formula (VLOOKUP vs INDEX & MATCH) to return multiple values in the same column
    By wfidler in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-06-2012, 07:04 PM
  7. Replies: 2
    Last Post: 01-12-2012, 07:02 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