Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Nov 2002
    Location
    Seattle, Washington, USA
    Posts
    116
    Thanks
    0
    Thanked 0 Times in 0 Posts

    First 20 rows containing a value (2003/SP2)

    Is there a filter or query in Excel that can return the first 20 occurrences of each of a set of values? That is, 20 rows per value (maybe less if there are <20 occurrences of a given value). The values will always be in the same column, if that's any help.

    Thanks in advance,
    Erik

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: First 20 rows containing a value (2003/SP2)

    Such a problem appears to be more suitable for Microsoft Access than for Excel.
    I don't think there's an easy or built-in way to do it in Excel, you'd probably need VBA code.

  3. #3
    2 Star Lounger
    Join Date
    Nov 2002
    Location
    Seattle, Washington, USA
    Posts
    116
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: First 20 rows containing a value (2003/SP2)

    I was afraid you'd say that. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    Thanks for the advice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •