+ Reply to Thread
Results 1 to 6 of 6

Need a formula to return the last (i.e. lowest row) value entered into a table

  1. #1
    Forum Contributor
    Join Date
    12-09-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    201

    Need a formula to return the last (i.e. lowest row) value entered into a table

    I have a table with twelve rows in it. The user can enter numbers into any or all of the rows in the table, and would be expected to enter the figures in a group of rows next to each other e.g.

    Row 1 - £316
    Row 2 - £274
    Row 3 - £352

    would return £352

    or

    Row 6 - £310
    Row 7 - £220
    Row 8 - £265

    would return £265

    I can use nested IF statements to work my way up the table from the bottom until I find a figure more than zero, but I can only use 7 nested IF statements. Is there another way I can do this?
    Last edited by ianpwilliams; 04-25-2013 at 01:45 PM.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Need a formula to return the last (i.e. lowest row) value entered into a table

    Hi ianpwilliams,

    Use below formula to fetch last value entered in column a:-

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

    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Need a formula to return the last (i.e. lowest row) value entered into a table

    Try

    =LOOKUP(9.999999999E+307,A1:A12)

  4. #4
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Need a formula to return the last (i.e. lowest row) value entered into a table

    Hi ianpwilliams

    Assuming your data table of 12 rows is in A1:A12, try the following.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  5. #5
    Forum Contributor
    Join Date
    12-09-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    201

    Re: Need a formula to return the last (i.e. lowest row) value entered into a table

    Great, thanks for that! I went for Kevin's one in the end.

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Need a formula to return the last (i.e. lowest row) value entered into a table

    Great

    Please mark this thread as [SOLVED].. thanks.


    Regards,
    DILIPandey
    <click on below * if this helps>

+ 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