+ Reply to Thread
Results 1 to 4 of 4

VLookup help to return unique result for multiple

  1. #1
    Registered User
    Join Date
    03-09-2016
    Location
    Los Angeles
    MS-Off Ver
    2014
    Posts
    15

    VLookup help to return unique result for multiple

    Hi!

    I am using a vlookup to return spend based on a concatenation of a date and a thing to make a unique value.

    This concatenation is done on two data sets to create a value to look up off of. The issue that I am running into is that for one data set there is a subset of things, lets call them doodads, which cause the formula to return spend multiple times because there are multiple lines of the things. How can I set up to return only at the date/things level and not have repeats for when there are multiple doodads.

    SEE ATTACHED DOC FOR DATA AND EXPECTED RESULT!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: VLookup help to return unique result for multiple

    In Q6

    =IF($N6=$N5,"",VLOOKUP($N6,$G$6:$H$16,2,0))

    Copy down

  3. #3
    Registered User
    Join Date
    03-09-2016
    Location
    Los Angeles
    MS-Off Ver
    2014
    Posts
    15

    Re: VLookup help to return unique result for multiple

    Awesome!!

    Can you help me a little bit about how this is working, specifically for rows 10-12.

    I can see with =IF($N6=$N5, its looking at the concatenations to see if the current concatenation matches the previous one. How does this work with 3 variations like in rows 10-12 (ABC doodads)

    Thanks,

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: VLookup help to return unique result for multiple

    It doesn't look at the "DoodadS" as your example suggests this not necessary: you only change of change of the concatenation. ....

    so have I missed something ????

+ 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] Help return multiple unique values in a row. VLOOKUP?
    By Royser12345 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-22-2016, 04:58 AM
  2. [SOLVED] VLOOKUP or something with multiple unique return values in a list?
    By girt0n in forum Excel General
    Replies: 1
    Last Post: 04-17-2012, 12:41 AM
  3. Replies: 3
    Last Post: 04-15-2010, 08:36 PM
  4. Multiple VLookup+return result in combobox
    By egl in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-13-2009, 03:47 PM
  5. Replies: 3
    Last Post: 10-27-2009, 02:59 PM
  6. How can i search for multiple values to return 1 result using vlookup?
    By buzf355 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-12-2008, 04:11 PM
  7. How can i search for multiple values to return 1 result using vlookup?
    By buzf355 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-11-2008, 06:28 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