+ Reply to Thread
Results 1 to 4 of 4

Change to the last number in a list

  1. #1
    Registered User
    Join Date
    11-24-2010
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003
    Posts
    1

    Change to the last number in a list

    I have a column of numbers and daily add a new number to the bottom of the list.

    In a separate reference cell (B1002) I have

    =(1001-COUNTBLANK(B2:B1001))

    This gives me the number of cells in the range that have numbers in them.

    Then in cell B1003 I have

    =ADDRESS(B1002,2)

    This gives me the absolute reference of the bottom cell in the list that has a number in it.

    I am simply trying to convert that absolute reference into a formula in another cell so that I have a cell containing the same number as is in the last cell used in the column.

    The answer to this simple little challenge continues to elude me.

  2. #2
    Forum Contributor
    Join Date
    07-05-2006
    Location
    Canada
    MS-Off Ver
    2003, 2007
    Posts
    581

    Re: Change to the last number in a list

    Hi,

    All you need to do is use the following:

    PHP Code: 
    =INDIRECT(ADDRESS(B1002,2)) 
    S

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Change to the last number in a list

    Try this in A1
    Please Login or Register  to view this content.
    Confirm with Ctrl+Shift+Enter

    This should return the last value in Column B assuming your list has less than 1001 rows.

    [EDIT]
    No need for formulae in B1002 And B1003
    Last edited by Marcol; 11-24-2010 at 09:46 PM.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Change to the last number in a list

    You explicitly state numbers in which case why not simply use the below to retrieve the last number:

    Please Login or Register  to view this content.
    Use COUNT for no. of numbers.

+ 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