+ Reply to Thread
Results 1 to 8 of 8

List INCLUDING repeat values

  1. #1
    Registered User
    Join Date
    09-08-2018
    Location
    Kamloops, Canada
    MS-Off Ver
    Office 365
    Posts
    86

    List INCLUDING repeat values

    Hi,

    I need to create a list from one column, but I want to include all occurrences (ie. not a unique list).

    I have attached a spreadsheet with my data. Basically, starting in D8, I want a list of ALL occurrences of cells containing 5002 and 5200, as a single list.

    I tried this =INDEX(Account,MATCH(0,IF(OR(LEFT(Account,4)="5002",LEFT(Account,4)="5200"),COUNTIF($D$7:D7,Account),""),0)) where Account is the name of my original list. However, it picked up all of the 7087's I don't want those.

    Please help. What am I missing?

    Thanks,
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: List INCLUDING repeat values

    Is this what you want
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

  3. #3
    Registered User
    Join Date
    09-08-2018
    Location
    Kamloops, Canada
    MS-Off Ver
    Office 365
    Posts
    86

    Re: List INCLUDING repeat values

    Quote Originally Posted by Fluff13 View Post
    Is this what you want
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.



    Thanks, Fluff13. However, this still just gave me a unique list.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: List INCLUDING repeat values

    In that case how about
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This is a normal formula, so just use Enter

  5. #5
    Registered User
    Join Date
    09-08-2018
    Location
    Kamloops, Canada
    MS-Off Ver
    Office 365
    Posts
    86

    Re: List INCLUDING repeat values

    Thanks again. Almost. It didn't pick up the 5200 rows.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: List INCLUDING repeat values

    Oops, missed a set of brackets
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    09-08-2018
    Location
    Kamloops, Canada
    MS-Off Ver
    Office 365
    Posts
    86

    Re: List INCLUDING repeat values

    You sir are a genius. Thank you so much. I really appreciate it.

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: List INCLUDING repeat values

    You're welcome & thanks for the feedback

+ 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. Replies: 60
    Last Post: 09-09-2014, 05:37 PM
  2. Copy and paste values without including the drop-down list
    By Utz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-15-2014, 12:14 PM
  3. [SOLVED] Formula to give me the 10 biggest values in a list (including duplicates)
    By ExcelFailure in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-05-2013, 10:55 AM
  4. Including 'all' to combobox list to retrieve all possible values
    By SoCalCisco in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-12-2012, 08:09 PM
  5. Replies: 3
    Last Post: 07-24-2009, 06:50 PM
  6. Returning values from a list including blanks
    By Tassie in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-29-2008, 08:52 AM
  7. eliminate repeat values from a list of ascending order
    By norumbegan in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-14-2006, 09:05 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