+ Reply to Thread
Results 1 to 7 of 7

Customer List Summary (Array?)

  1. #1
    Forum Contributor
    Join Date
    06-29-2008
    Location
    Grand Rapids, MI
    MS-Off Ver
    Office 2010
    Posts
    127

    Customer List Summary (Array?)

    Hello,

    I have a list of Customers like this in a column:

    A
    John
    James
    Eric
    Steve
    John
    Eric
    Wendy
    Wendy

    I want it to return their name once only by using a formula
    John
    James
    Eric
    Steve
    Wendy

    This is so we can see if a customer ordered during a specific time period. Other formulas will link to it.

    I've done this before, I just can't remember how... I think it was an array but I don't know exactly how it was accomplished.

    Thanks!
    Last edited by robert_shindorf; 04-09-2011 at 09:15 PM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Customer List Summary (Array?)

    Hey Robert,

    Your question is a little too vague. Could you update your profile so we can see which version of Excel you are using and if it is a MAC version.

    Three possible answers come to mind from your question segments.
    1. Delete Duplicates from a copy of column A - If you have 2007 or 2010 Excel
    2. Advanced Filter using the Unique check box in the dialog
    3. VBA code to build an Array using no duplicates.

    I don't know if you are looking for a validation list or a Userform ComboBox dropdown.

    See if any of the above jog your mind to remember how to do it.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Customer List Summary (Array?)

    This is almost identical (de ja vu) to another thread a saw a while back. Here is the link

    Unique list

    Is this what you were after (if MarvinP's excellent suggestions are not)?

    abousetta

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Customer List Summary (Array?)

    Hi abousetta - you made me find the VBA code I was impressed with.

    It was from Charles in the thread of
    http://www.excelforum.com/excel-prog...-transfer.html

    He created a Collection and added strings to it. If there was a match, it wouldn't add it, essentially deleting dups.

    Pull up his post from above and read the code. That was what I was thinking when I mentioned #3 above.

  5. #5
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Customer List Summary (Array?)

    Thanks for sharing this MarvinP.

    abousetta

  6. #6
    Forum Contributor
    Join Date
    06-29-2008
    Location
    Grand Rapids, MI
    MS-Off Ver
    Office 2010
    Posts
    127

    Re: Customer List Summary (Array?)

    Well, i was really hoping to have a formula solution to this and not a macro / vba solution.

    I can't remember what the solution that I saw in the past was, there may have been some cheater cells with unique ID's in it or something.

    The solution that was shared relating to the other post wouldn't quite work as I don't need seperate worksheet, just a list on one worksheet.

    The purpose of this is to summarize the purchases from a customer and analyze their buying habits / trends. The first step is the list of customers, the second is summarizing the purchases (which i can do).

    Hopefully that helps clear up the confusion?

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Customer List Summary (Array?)

    Hi Robert,

    I think you threw us off when you suggested an Array. You can do this by a simple Delete Duplicates on the Data Tab of 2010 Excel.

    If you were to supply a sample workbook it is much easier to see what you are asking. Attach a sample workbook and we can show how to delete duplicates for beginners.

+ 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