+ Reply to Thread
Results 1 to 7 of 7

Need help with a lookup on multiple identical values please

  1. #1
    Forum Contributor
    Join Date
    12-11-2014
    Location
    Missouri
    MS-Off Ver
    2016
    Posts
    153

    Need help with a lookup on multiple identical values please

    Hi Everyone,

    I have an imported worksheet where there are multiple duplicate descriptions in Column A that have different values in Column G that I need to do a lookup on.
    The first set of lookup's work fine as expected but it seems to me like I read a way to do this on the forum and I'm not finding it?
    Example is in A6 I have a description of CONV REG 10% ETH and I do a lookup for a value in Column G in the Invoice worksheet. Then in A19 I have the same description
    of CONV REG 10% ETH and I need to lookup the value in Column G in the Invoice worksheet.

    Any help would be great.

    Thanks,
    Dean


    Please Login or Register  to view this content.
    Last edited by dgarber; 11-08-2019 at 10:45 AM.

  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,916

    Re: Need help with a lookup please

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    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
    Forum Contributor
    Join Date
    12-11-2014
    Location
    Missouri
    MS-Off Ver
    2016
    Posts
    153

    Re: Need help with a lookup please

    AliGW is that better?

  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,916

    Re: Need help with a lookup on multiple identical values please

    Much - thanks!

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Need help with a lookup on multiple identical values please

    Have you tried assigning index numbers to the qualifying items and then passing those via INDEX to column G? This would be an array formula.

    Upload a workbook that represents what you are working with and what you want. Instructions for doing this are at the top of this page (gold banner).
    Dave

  6. #6
    Forum Contributor
    Join Date
    12-11-2014
    Location
    Missouri
    MS-Off Ver
    2016
    Posts
    153

    Re: Need help with a lookup on multiple identical values please

    Hi Dave,
    The problem I run into is the invoices are not static. We receive anywhere from 1-3 products per invoice so for example if its a single product it always resides in A14 and A18.
    If there are 2 products everything is shifted down one row so what was in A18 is now in A19 and if 3 products shifted down 2 rows so what was in A18 is now in A20.

    Thanks,
    Dean

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Need help with a lookup on multiple identical values please

    Have you tried a dynamic named range? Then assign index numbers relative to that named range.

    =if(Condition=DNR, ROW(DNR)-MIN(ROW(DNR))+1)

    That should address the challenge of changing ranges and indexing assignments.

    If you are unaware of how to build a dynamic named range (DNR) upload a small representative (with dummy data) workbook. I'll show you my favorite method.

    Happy Veteran's Day.

+ 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] Lookup: Lookup employee id and return value in cell x basued on most recent start date
    By jekeith in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-21-2018, 12:56 PM
  2. Replies: 3
    Last Post: 08-23-2017, 07:04 PM
  3. Two Lookup and Return (Lookup the column, then lookup the row)
    By Branbran10 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-05-2015, 04:55 PM
  4. Replies: 4
    Last Post: 05-19-2015, 08:42 PM
  5. Replies: 3
    Last Post: 04-08-2014, 03:11 AM
  6. Replies: 2
    Last Post: 05-19-2013, 08:46 AM
  7. Replies: 7
    Last Post: 06-19-2011, 12:51 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