+ Reply to Thread
Results 1 to 4 of 4

Time series data reference

  1. #1
    Registered User
    Join Date
    02-21-2011
    Location
    Portland, OR
    MS-Off Ver
    Excel 2007
    Posts
    2

    Time series data reference

    We're creating a tracking system for our vendors. I want to input pricing by month for each item we buy from each vendor. In another workbook, I want to display only the most recent price we've paid.

    Is there a way to tell Excel to reference the rightmost cell of an array that contains data?

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Time series data reference

    If you were, for example, entering values in cells A1:Z1 and wanted to see the latest entry reading from left to right, this formula work:

    =LOOKUP(2, 1 / (A1:Z1<>""), A1:Z1)
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    02-21-2011
    Location
    Portland, OR
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Time series data reference

    Great! That seems to work. can you walk me through the terms in the formula?

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Time series data reference

    Highlight the cell and then activate the Evaluate Formula icon on the Formula Auditing toolbar. With that tool, you can watch the formula unfold one step at a time from the inside out.

    In a nutshell, that little "snippet" is used to find the last cell in a range with a value <> "" and then return that value.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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