+ Reply to Thread
Results 1 to 12 of 12

Vlookup issue - duplicate data

Hybrid View

Deanoz Vlookup issue - duplicate data 09-17-2012, 12:38 AM
dilipandey Re: Vlookup issue - duplicate... 09-17-2012, 12:59 AM
Deanoz Re: Vlookup issue - duplicate... 09-17-2012, 01:31 AM
dilipandey Re: Vlookup issue - duplicate... 09-17-2012, 01:51 AM
Deanoz Re: Vlookup issue - duplicate... 09-17-2012, 06:25 PM
FDibbins Re: Vlookup issue - duplicate... 09-17-2012, 06:30 PM
Deanoz Re: Vlookup issue - duplicate... 09-17-2012, 06:34 PM
Deanoz Re: Vlookup issue - duplicate... 09-17-2012, 08:37 PM
FDibbins Re: Vlookup issue - duplicate... 09-17-2012, 08:52 PM
dilipandey Re: Vlookup issue - duplicate... 09-18-2012, 02:01 AM
Deanoz Re: Vlookup issue - duplicate... 09-18-2012, 06:10 PM
dilipandey Re: Vlookup issue - duplicate... 09-19-2012, 01:13 AM
  1. #1
    Registered User
    Join Date
    09-17-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    6

    Vlookup issue - duplicate data

    So i have spent a good three days surfing the next and trying to figure a formula for my data extract.

    Currently, im running a report for staff whereby survey data is returning duplicate values. My problem that I have is that I want it to be "pluggable". I can just extract data, paste it in and it will calculate everything. Below is my screen shots.. I believe it is doable with a pivot but would rather it done with a formula..

    So basically, the return for a vlookup when choosing the "NAME" will return each incident individually, but because the data extract has the name more than once, it will not return any results or just the one result...

    Any ideas?

    Cheers

    data extract.jpg

    Untitled.jpg

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Vlookup issue - duplicate data

    Hi Deanoz,

    Welcome to the forum.

    This is achievable using combination of few functions in array formula, please upload a sample workbook. Thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  3. #3
    Registered User
    Join Date
    09-17-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Vlookup issue - duplicate data

    File attatched
    Attached Files Attached Files

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Vlookup issue - duplicate data

    Hi Deanoz,

    Use the below formula:-

    Formula: copy to clipboard
    {=IFERROR(INDEX('Survey Analysis'!$B$1:$B$578,SMALL(IF('Survey Analysis'!$A$1:$A$578='Template Name'!$F$4,ROW('Survey Analysis'!$B$1:$B$578),""),ROW('Template Name'!$A1)),1),"")}


    See attached:-

    Book1(2).xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  5. #5
    Registered User
    Join Date
    09-17-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Vlookup issue - duplicate data

    Thanks DiliPandey but im still not getting the correct results. I have added the formula and it seems to be an error returning any results..

    Please see new attatchment. Thank you in advance

    http://www.2shared.com/file/wQp4WoRR/test.html
    Last edited by Deanoz; 09-17-2012 at 06:32 PM.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Vlookup issue - duplicate data

    1 way would be to add a helper column, and then concatenate the name and the incident number? and then base your lookup on that?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Registered User
    Join Date
    09-17-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Vlookup issue - duplicate data

    could that be done when the data within the spreadsheet is constantly changing? It is using vlookup from numerous data sheets to return a result to one spreadsheet. then using that to identify results?

  8. #8
    Registered User
    Join Date
    09-17-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Vlookup issue - duplicate data

    To be honest, id rather the formula set up ready.. if you look at how i got the end results currently, i dont think concatenation will work?

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Vlookup issue - duplicate data

    the concatenation will work, even if the data changes. you can hide the column with that data in it if you want. im at home right now and only have 2003, so i cant open .xlsx files, sorry

  10. #10
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Vlookup issue - duplicate data

    Hi Deanoz,

    Thanks DiliPandey but im still not getting the correct results.
    Are you entering the formula using Ctrl Shift Enter key combination ? Thanks.

    Regards,
    DILIPandey


    <click on below 'star' if this helps>

  11. #11
    Registered User
    Join Date
    09-17-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Vlookup issue - duplicate data

    Yeah but its still blank in the field.. no info is returning

    http://www.2shared.com/file/wQp4WoRR/test.html see attatched

  12. #12
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Vlookup issue - duplicate data

    Hi Deanoz,

    I am not able to download the file from the link you mentioned...
    Suggest you to upload the file here in the forum.

    Click on go advanced while reply and look for paper clip icon to upload. thanks.


    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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