+ Reply to Thread
Results 1 to 5 of 5

Formula to get MAX non-zero value from bottom up

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Formula to get MAX non-zero value from bottom up

    Hello:

    Please refer to attached file.
    I need formula in cell B15, which will give 1st non-zero value from cell B12 up to B1
    In this case answer needs to be 644.54

    Assume if i have put B9 = 700, then answer will need to change to 700

    Tried using below but did not work:

    Please Login or Register  to view this content.
    Let me know if you have any questions.
    Thanks.
    Riz
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula to get MAX non-zero value from bottom up

    Try this:

    =LOOKUP(2,1/(B1:B12<>0),B1:B12)

  3. #3
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    514

    Re: Formula to get MAX non-zero value from bottom up

    First non-zero value from cell B12 up to B1 is the same as the last non-zero value in range B1:B12 -- so, try

    =LOOKUP(2,1/(B1:B12>0),B1:B12)

  4. #4
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: Formula to get MAX non-zero value from bottom up

    Hello 63falocn & Root:

    Works great

    Thanks

    Riz

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula to get MAX non-zero value from bottom up

    Happy to help, thanks for the rep!

+ 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. [SOLVED] Bottom Command Button does not take the user to the bottom of the ListBox
    By JJFletcher in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-08-2017, 03:21 PM
  2. [SOLVED] Rows copying from bottom to top. need to copy top to bottom.
    By jafvortex93 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-01-2015, 02:07 PM
  3. Draw bottom border on every rows from top to bottom
    By tantcu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-08-2013, 09:52 AM
  4. top / bottom ten in a formula
    By bobby_712 in forum Excel General
    Replies: 8
    Last Post: 06-27-2012, 10:41 AM
  5. Top 10 and Bottom 5 Formula
    By pauldaddyadams in forum Excel General
    Replies: 3
    Last Post: 12-06-2011, 04:39 AM
  6. Shared Top and Bottom Border - Bottom not printing
    By bick421 in forum Excel General
    Replies: 0
    Last Post: 01-07-2009, 03:47 PM
  7. Replies: 1
    Last Post: 04-09-2006, 04:30 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