+ Reply to Thread
Results 1 to 4 of 4

How to return value that's the most recent?

Hybrid View

  1. #1
    Registered User
    Join Date
    08-26-2009
    Location
    SEA
    MS-Off Ver
    Excel 2007
    Posts
    18

    How to return value that's the most recent?

    Hello guys,

    I've decided to make my own stock portfolio manager to keep track of my stock purchases.

    However, there's one problem: I'm not sure how to return the latest value from rows of data.

    Please take a look at the excel file attached to get a better idea of what I need.
    The instructions are all inside.

    It's still very simple.

    Thanks!
    Attached Files Attached Files
    Last edited by surfol; 09-04-2010 at 01:26 PM. Reason: problem asked is solved

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,054

    Re: How to return value that's the most recent?

    Try this:

    =LOOKUP(99^99, Trades!$I$5:$I$10000)
    Never use Merged Cells in Excel

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How to return value that's the most recent?

    Try:

    =LOOKUP(2,1/(Trades!$B$5:$B$13=B6),Trades!$I$5:$I$13)

    copied down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,054

    Re: How to return value that's the most recent?

    Yes, use NBVC (aditional condition)!

+ 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