+ Reply to Thread
Results 1 to 10 of 10

Return list of products excluding duplicates

  1. #1
    Registered User
    Join Date
    03-11-2010
    Location
    Bendigo, Australia
    MS-Off Ver
    Excel 2007
    Posts
    11

    Return list of products excluding duplicates

    Hi

    I have a spreadsheet with contains a large number of customers and the products they have purchased over the last 3 months.

    If for example they have purchased bacon on more than one occasion during the 3 month period then bacon will appear in the spreadsheet for this customer more than once.

    I have created a report with has a drop down list where i can select which customer i want to view. Upon selecting the customer i want a list of products they have purchased over the 3 month period to be displayed excluding duplicates eg bacon will only appear on the list once not multiple times.

    I have attached an extract from the spread sheet and my preferred result for you to review.

    Any further questions please ask.

    Thanks

    Colin
    Attached Files Attached Files
    Last edited by Chanley24; 05-20-2013 at 03:08 AM.

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Return list of products excluding duplicates

    Hi Colin

    Have you tried using a pivot table?
    Attached Files Attached Files
    Last edited by humdingaling; 05-20-2013 at 02:21 AM.

  3. #3
    Registered User
    Join Date
    03-11-2010
    Location
    Bendigo, Australia
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Return list of products excluding duplicates

    Hi Humdingaling

    I haven't.

    I know how to use pivot tables i have no experience on how to create them.

    If you think a pivot table is my best option im certainly happy to go away and look into creating one.

  4. #4
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Return list of products excluding duplicates

    pivot tables are not hard to learn at all
    they just look daunting when you first see them

    see the attached file i put in "sheet 4"
    i basically did that in under 10 button clicks
    no formulas to mess

    customer filter at top to select which customer you want

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Return list of products excluding duplicates

    And here is a formula suggestion.

    In H7 and copy down and across this ARRAY formula.

    =INDEX($B$2:$D$82, MATCH(0,COUNTIF($H$6:H6,$B$2:$B$82)+($A$2:$A$82<>$H$5),0), COLUMN(A1))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  6. #6
    Registered User
    Join Date
    03-11-2010
    Location
    Bendigo, Australia
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Return list of products excluding duplicates

    Thanks Fotis

    That works fine. I will use the Array formula for the short term as it answers my immediate needs.

    I have been looking into pivot tables further in the last 30 mins and i think pivot table will allow me to extract a lot more info over time from the data that i have. Info that we previously thought was above too difficult to extract.

    Thanks all for your help.

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Return list of products excluding duplicates

    .........................

  8. #8
    Registered User
    Join Date
    01-18-2012
    Location
    switzerland
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Return list of products excluding duplicates

    01-Manual Aspiration-Advance-Template.xlsx01-Manual Aspiration-Advance-Template.xlsx
    Hello,

    I would need your help on he following please.

    in tab : report- I'll choose the country.
    in tab : Extract ESr: data will be changed accordingly to the selection.

    and data will be cleaned in column T-U- V- W.

    I need kind of macro in Column X (or formula), to extract unique value from column W. Without duplicates,

    This will allow me to make a reference in Tab report to put this code into a table without duplicates.

    Thank you for your help.

  9. #9
    Registered User
    Join Date
    01-18-2012
    Location
    switzerland
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Return list of products excluding duplicates

    Sorry fr this,

    Just i forget to mentioned that i need the macro to run each time we change the selection of the country.

    Thank you

  10. #10
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Return list of products excluding duplicates

    I(We)'d like to help you but you need to start your own thread according the forum rules.

    Just for starting take a look here.

    http://www.get-digital-help.com/2009...om-one-column/

+ 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