+ Reply to Thread
Results 1 to 5 of 5

In a column of numbers, how do I return the last non-zero number?

  1. #1
    ACEACE
    Guest

    In a column of numbers, how do I return the last non-zero number?

    That is the bottom-most non-zero number?

  2. #2
    Biff
    Guest

    Re: In a column of numbers, how do I return the last non-zero number?

    Hi!

    >In a column of numbers


    Try this:

    =LOOKUP(2,1/(A1:A10<>0),A1:A10)

    Biff

    "ACEACE" <[email protected]> wrote in message
    news:[email protected]...
    > That is the bottom-most non-zero number?




  3. #3
    CLR
    Guest

    Re: In a column of numbers, how do I return the last non-zero numb

    That seems to return only the value in A10.........

    Perhaps this........
    =SMALL(A1:A10,COUNTIF(A1:A10,0)+1)

    Vaya con Dios,
    Chuck, CABGx3





    "Biff" wrote:

    > Hi!
    >
    > >In a column of numbers

    >
    > Try this:
    >
    > =LOOKUP(2,1/(A1:A10<>0),A1:A10)
    >
    > Biff
    >
    > "ACEACE" <[email protected]> wrote in message
    > news:[email protected]...
    > > That is the bottom-most non-zero number?

    >
    >
    >


  4. #4
    Biff
    Guest

    Re: In a column of numbers, how do I return the last non-zero numb

    Screencap:

    http://img519.imageshack.us/img519/1...nonzero6xy.jpg

    Biff

    "CLR" <[email protected]> wrote in message
    news:[email protected]...
    > That seems to return only the value in A10.........
    >
    > Perhaps this........
    > =SMALL(A1:A10,COUNTIF(A1:A10,0)+1)
    >
    > Vaya con Dios,
    > Chuck, CABGx3
    >
    >
    >
    >
    >
    > "Biff" wrote:
    >
    >> Hi!
    >>
    >> >In a column of numbers

    >>
    >> Try this:
    >>
    >> =LOOKUP(2,1/(A1:A10<>0),A1:A10)
    >>
    >> Biff
    >>
    >> "ACEACE" <[email protected]> wrote in message
    >> news:[email protected]...
    >> > That is the bottom-most non-zero number?

    >>
    >>
    >>




  5. #5
    CLR
    Guest

    Re: In a column of numbers, how do I return the last non-zero numb

    My apology.......I kept reading "the bottom-most non-zero number" as being
    "the smallest non-zero number".........

    Vaya con Dios,
    Chuck, CABGx3


    "Biff" wrote:

    > Screencap:
    >
    > http://img519.imageshack.us/img519/1...nonzero6xy.jpg
    >
    > Biff
    >
    > "CLR" <[email protected]> wrote in message
    > news:[email protected]...
    > > That seems to return only the value in A10.........
    > >
    > > Perhaps this........
    > > =SMALL(A1:A10,COUNTIF(A1:A10,0)+1)
    > >
    > > Vaya con Dios,
    > > Chuck, CABGx3
    > >
    > >
    > >
    > >
    > >
    > > "Biff" wrote:
    > >
    > >> Hi!
    > >>
    > >> >In a column of numbers
    > >>
    > >> Try this:
    > >>
    > >> =LOOKUP(2,1/(A1:A10<>0),A1:A10)
    > >>
    > >> Biff
    > >>
    > >> "ACEACE" <[email protected]> wrote in message
    > >> news:[email protected]...
    > >> > That is the bottom-most non-zero number?
    > >>
    > >>
    > >>

    >
    >
    >


+ 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