Closed Thread
Results 1 to 11 of 11

numbering filtered rows

Hybrid View

  1. #1
    Dave Peterson
    Guest

    Re: numbering filtered rows

    If you can find a column that always has data in it (like that name column), you
    could use:

    in A2 (with headers in Row 1 and names in column B):

    =subtotal(3,$b$2:b2)

    and drag down column A.

    "glen.e.mettler@lmco.com" wrote:
    >
    > If I put = Row() in a column of cells I get the row number.
    > Now, suppose I filter the data. I want to show the sequence row number
    > of the filtered data so that it shows 1,2,3,4,5 etc regardless of the
    > actual row number.
    > For example, I amy have "Joe Smith" on row #45 but when I filter on a
    > particular parameter, "Joe Smith" may be on row 2 of the filtered data.
    > That row is what I need to show.
    >
    > How can I do that? Is it possible without numbering by hand?
    >
    > Glen


    --

    Dave Peterson

  2. #2
    Debra Dalgleish
    Guest

    Re: numbering filtered rows

    But don't use this technique in conjunction with the Data>Subtotals
    command, or it may delete all the rows in your table!

    Dave Peterson wrote:
    > If you can find a column that always has data in it (like that name column), you
    > could use:
    >
    > in A2 (with headers in Row 1 and names in column B):
    >
    > =subtotal(3,$b$2:b2)
    >
    > and drag down column A.
    >
    > "glen.e.mettler@lmco.com" wrote:
    >
    >>If I put = Row() in a column of cells I get the row number.
    >>Now, suppose I filter the data. I want to show the sequence row number
    >>of the filtered data so that it shows 1,2,3,4,5 etc regardless of the
    >>actual row number.
    >>For example, I amy have "Joe Smith" on row #45 but when I filter on a
    >>particular parameter, "Joe Smith" may be on row 2 of the filtered data.
    >> That row is what I need to show.
    >>
    >>How can I do that? Is it possible without numbering by hand?
    >>
    >>Glen

    >
    >



    --
    Debra Dalgleish
    Contextures
    http://www.contextures.com/tiptech.html


  3. #3
    Dave Peterson
    Guest

    Re: numbering filtered rows

    I'm confused...

    How would this delete any of the rows?

    Debra Dalgleish wrote:
    >
    > But don't use this technique in conjunction with the Data>Subtotals
    > command, or it may delete all the rows in your table!
    >
    > Dave Peterson wrote:
    > > If you can find a column that always has data in it (like that name column), you
    > > could use:
    > >
    > > in A2 (with headers in Row 1 and names in column B):
    > >
    > > =subtotal(3,$b$2:b2)
    > >
    > > and drag down column A.
    > >
    > > "glen.e.mettler@lmco.com" wrote:
    > >
    > >>If I put = Row() in a column of cells I get the row number.
    > >>Now, suppose I filter the data. I want to show the sequence row number
    > >>of the filtered data so that it shows 1,2,3,4,5 etc regardless of the
    > >>actual row number.
    > >>For example, I amy have "Joe Smith" on row #45 but when I filter on a
    > >>particular parameter, "Joe Smith" may be on row 2 of the filtered data.
    > >> That row is what I need to show.
    > >>
    > >>How can I do that? Is it possible without numbering by hand?
    > >>
    > >>Glen

    > >
    > >

    >
    > --
    > Debra Dalgleish
    > Contextures
    > http://www.contextures.com/tiptech.html


    --

    Dave Peterson

  4. #4
    Debra Dalgleish
    Guest

    Re: numbering filtered rows

    When you remove the Subtotals (Data>Subtotals, Remove All), every row in
    the table that contains a Subtotal formula is deleted, including
    Subtotal formulas that were manually inserted.

    And there's no Undo. You can close the file without saving the changes,
    which is okay, unless you've made lots of other changes, and hadn't
    saved them.

    Dave Peterson wrote:
    > I'm confused...
    >
    > How would this delete any of the rows?
    >
    > Debra Dalgleish wrote:
    >
    >>But don't use this technique in conjunction with the Data>Subtotals
    >>command, or it may delete all the rows in your table!
    >>
    >>Dave Peterson wrote:
    >>
    >>>If you can find a column that always has data in it (like that name column), you
    >>>could use:
    >>>
    >>>in A2 (with headers in Row 1 and names in column B):
    >>>
    >>>=subtotal(3,$b$2:b2)
    >>>
    >>>and drag down column A.
    >>>
    >>>"glen.e.mettler@lmco.com" wrote:
    >>>
    >>>
    >>>>If I put = Row() in a column of cells I get the row number.
    >>>>Now, suppose I filter the data. I want to show the sequence row number
    >>>>of the filtered data so that it shows 1,2,3,4,5 etc regardless of the
    >>>>actual row number.
    >>>>For example, I amy have "Joe Smith" on row #45 but when I filter on a
    >>>>particular parameter, "Joe Smith" may be on row 2 of the filtered data.
    >>>>That row is what I need to show.
    >>>>
    >>>>How can I do that? Is it possible without numbering by hand?
    >>>>
    >>>>Glen
    >>>
    >>>

    >>--
    >>Debra Dalgleish
    >>Contextures
    >>http://www.contextures.com/tiptech.html

    >
    >



    --
    Debra Dalgleish
    Contextures
    http://www.contextures.com/tiptech.html


  5. #5
    Dave Peterson
    Guest

    Re: numbering filtered rows

    Ahhhh.

    Now I see (as I picked up that hammer and saw!).



    Debra Dalgleish wrote:
    >
    > When you remove the Subtotals (Data>Subtotals, Remove All), every row in
    > the table that contains a Subtotal formula is deleted, including
    > Subtotal formulas that were manually inserted.
    >
    > And there's no Undo. You can close the file without saving the changes,
    > which is okay, unless you've made lots of other changes, and hadn't
    > saved them.
    >
    > Dave Peterson wrote:
    > > I'm confused...
    > >
    > > How would this delete any of the rows?
    > >
    > > Debra Dalgleish wrote:
    > >
    > >>But don't use this technique in conjunction with the Data>Subtotals
    > >>command, or it may delete all the rows in your table!
    > >>
    > >>Dave Peterson wrote:
    > >>
    > >>>If you can find a column that always has data in it (like that name column), you
    > >>>could use:
    > >>>
    > >>>in A2 (with headers in Row 1 and names in column B):
    > >>>
    > >>>=subtotal(3,$b$2:b2)
    > >>>
    > >>>and drag down column A.
    > >>>
    > >>>"glen.e.mettler@lmco.com" wrote:
    > >>>
    > >>>
    > >>>>If I put = Row() in a column of cells I get the row number.
    > >>>>Now, suppose I filter the data. I want to show the sequence row number
    > >>>>of the filtered data so that it shows 1,2,3,4,5 etc regardless of the
    > >>>>actual row number.
    > >>>>For example, I amy have "Joe Smith" on row #45 but when I filter on a
    > >>>>particular parameter, "Joe Smith" may be on row 2 of the filtered data.
    > >>>>That row is what I need to show.
    > >>>>
    > >>>>How can I do that? Is it possible without numbering by hand?
    > >>>>
    > >>>>Glen
    > >>>
    > >>>
    > >>--
    > >>Debra Dalgleish
    > >>Contextures
    > >>http://www.contextures.com/tiptech.html

    > >
    > >

    >
    > --
    > Debra Dalgleish
    > Contextures
    > http://www.contextures.com/tiptech.html


    --

    Dave Peterson

  6. #6
    glen.e.mettler@lmco.com
    Guest

    Re: numbering filtered rows

    Thanks Dave, just what I needed.

    Glen


  7. #7
    Registered User
    Join Date
    04-21-2011
    Location
    Iran
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: numbering filtered rows

    Hi Dave Peterson ,
    Very Thanks for your solution , this is worked perfect ....
    I did very searching in Internet and just Your solution worked for me ....
    Thanks ...

    Note : add on Command to this formula
    For autonumber the hide row this is worked ok =subtotal(3,$b$2:b2)

    but for autonumber except the hide row you must use 103 key inestead of 3

    =subtotal(103,$b$2:b2)

    Thanks again

    Farzad From Iran

    ..................................................
    Last edited by romperstomper; 04-21-2011 at 05:23 AM. Reason: remove quote and email address

Closed 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