+ Reply to Thread
Results 1 to 6 of 6

Simple Last number lookup questiion

Hybrid View

  1. #1
    Registered User
    Join Date
    10-19-2011
    Location
    Billings, MT
    MS-Off Ver
    Excel 2003
    Posts
    74

    Simple Last number lookup questiion

    HI
    I tried to find a similar example in the forum but I was not able to find my example problem. I need to have cell at the end of a column of numbers that will pick the last available data input. There will be times when the cells within the column will not have a data point and there will be times when the data is not available since the data points are entered through the day. I need to know that last valid data point.If their is a skip in the data, would it be possible to say "n/a" ? I have attached a sample work sheet.
    Thanks for you help in this matter.
    Ted
    Attached Files Attached Files
    Last edited by thmehr; 03-21-2012 at 11:09 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-14-2012
    Location
    Arizona USA
    MS-Off Ver
    Excel 2000/2007
    Posts
    408

    Re: Simple Last number lookup questiion

    I think you are asking for a function to tell you a row number(either the last used row OR the next available row)??

    I use either =Count(range) OR =Counta(range)

    In your example sheet, it would look like =COUNTA(C9:D33)+8 8 is the row offset.

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Simple Last number lookup questiion

    Not sure what is your end result.

    If you are looking to return the last value in C9:C33 where B9:B33<>0 AND C9:C33<>0, here is the one way,

    =IFERROR(LOOKUP(2,1/B9:B33/C9:C33,C9:C33),"N/A")

    will give you 13
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  4. #4
    Registered User
    Join Date
    10-19-2011
    Location
    Billings, MT
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: Simple Last number lookup questiion

    Solved thanks Haseeb

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Simple Last number lookup questiion

    See Attached WorkBook

    Is that what you want?
    Attached Files Attached Files
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  6. #6
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Simple Last number lookup questiion

    If it is column C you need to find the last entry, then just change the "D" in the code to "C".

+ 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