+ Reply to Thread
Results 1 to 5 of 5

Choosing a cell based on another cell being the most recent.

  1. #1
    Registered User
    Join Date
    06-05-2012
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Choosing a cell based on another cell being the most recent.

    I have a workbook that contains multiple worksheets, but this issue (for now) entails only 2 of them.

    A worksheet entitled 'Performance', includes (among others) a column named 'Date' and another column named 'MLSS'. What I want to do is, from the worksheet entitled 'Waste Rates', grab the 'MLSS' value for the current date (ie today's date, whenever the user is looking at the spreadsheet) and place that result in the 'MLSS' cell in the 'Waste Rates' worksheet.

    I've tried using a combo of VLOOKUP and CHOOSE, as found in other message boards, but to no avail.

    I'm running Office 2010 on a Win7 system.

    Thanks!!

  2. #2
    Forum Contributor
    Join Date
    08-22-2011
    Location
    Texas, United States
    MS-Off Ver
    Excel 2007 and 2010
    Posts
    516

    Re: Choosing a cell based on another cell being the most recent

    If on the performance sheet all the dates are different you should be able to do a vlookup. it should go something like this. Vlookup(Today(),$A$1:$B$400,2,FALSE). where A is the date column and B is the MLSS column. you can change the 400 to however many rows you have in your table.
    Last edited by Paul; 06-11-2012 at 01:36 PM.

  3. #3
    Registered User
    Join Date
    06-05-2012
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Choosing a cell based on another cell being the most recent

    Copy of new daily worksheets.xlsxI've attached the XLS file for you to look at - I tried your suggestion, but still not coming up with the right result Attachment 161216

  4. #4
    Forum Contributor
    Join Date
    08-22-2011
    Location
    Texas, United States
    MS-Off Ver
    Excel 2007 and 2010
    Posts
    516

    Re: Choosing a cell based on another cell being the most recent.

    Putting in this formula works. You had put a 13 instead of a 15, you have to count all columns even though they are blank. the MLSS Column is 15 over from your date column.

    =VLOOKUP(TODAY(),Performance!A2:O400,15,FALSE)

  5. #5
    Registered User
    Join Date
    06-05-2012
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Choosing a cell based on another cell being the most recent.

    Aha, I must have mistyped - thanks!!

+ 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