+ Reply to Thread
Results 1 to 4 of 4

In Excel: select the last 20 rows of data in a column

  1. #1
    Tad Blanchard
    Guest

    In Excel: select the last 20 rows of data in a column

    How do I create a formula that will select the last 20 entries in a column of
    a database?

  2. #2
    Bob Phillips
    Guest

    Re: In Excel: select the last 20 rows of data in a column

    This is the sort of thing

    OFFSET($A$1,COUNTA(A:A)-20,0,20,1)

    which can be used like so

    =SUM(OFFSET($A$1,COUNTA(A:A)-20,0,20,1))

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Tad Blanchard" <Tad [email protected]> wrote in message
    news:[email protected]...
    > How do I create a formula that will select the last 20 entries in a column

    of
    > a database?




  3. #3
    Forum Contributor
    Join Date
    02-19-2005
    Location
    Gurgaon,India
    MS-Off Ver
    2007,2010,2013
    Posts
    180
    You can avoid the Volatile OFFSET function.

    Try,

    =SUM(INDEX(A:A,COUNTA(A:A)-19):INDEX(A:A,COUNTA(A:A)))


    HTH
    Kris

  4. #4
    Bob Phillips
    Guest

    Re: In Excel: select the last 20 rows of data in a column

    Yeah, 5 functions for 3. Can't see much rationale in that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Krishnakumar" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > You can avoid the Volatile OFFSET function.
    >
    > Try,
    >
    > =SUM(INDEX(A:A,COUNTA(A:A)-19):INDEX(A:A,COUNTA(A:A)))
    >
    >
    > HTH
    >
    >
    > --
    > Krishnakumar
    >
    >
    > ------------------------------------------------------------------------
    > Krishnakumar's Profile:

    http://www.excelforum.com/member.php...o&userid=20138
    > View this thread: http://www.excelforum.com/showthread...hreadid=487782
    >




+ 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