#1
|
|||
|
|||
Vlookup fails to select latest date/amt
Col. D E F G
DATE Dec31 bal. On hand Last Qtr Value =Vlookup(Max($D$4:$D20),$D$4:$G20,2,T) formula in D4 row 4 12/31/2018 $26.50 $24.00 $25.50 01/31/2019 $26.50 $23.50 $24.00 02/28/2019 $26.50 $24.25 $23.50 MS Excel 2007 Spreadsheet, Windows 7 Last edited by rbul1; 01-26-2019 at 11:31 AM. Reason: to correct alignment of data |
#2
|
|||
|
|||
Would you mind putting that into a spreadsheet and attaching the spreadsheet to your post, thanks.
|
#3
|
|||
|
|||
1. When you enter the formula into cell D4 with parameters as in your post, then both VLOOKUP() and MAX() parts have circular reference;
2. What is the value for parameter T in VLOOKUP()? And why not simply 0? |
#4
|
||||
|
||||
Although there is no official rule regarding this behavior, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.
I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all. Thanks again for all your hard work here!
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#5
|
|||
|
|||
Try this, but with the formula not in D4 but in a cell outside the data table:
Code:
=VLOOKUP(MAX($D$4:$D20);$D$4:$G20;2;0) |
#6
|
|||
|
|||
Thank You, you were correct!
|
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
return the status description relating to the latest date in | garymon9AX | Excel | 2 | 08-21-2018 10:02 AM |
What is the Latest Version of MS Office in 2018? | adbast | Word | 3 | 05-15-2018 12:12 PM |
How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array | EcommDOC | Excel | 7 | 01-22-2018 11:00 AM |
Lookup & Import Earliest/Latest Date for Activity? | ekeithjohnson | Excel | 1 | 08-25-2014 09:24 AM |
the latest message in my inbox gets deleted | Jmkary | Outlook | 1 | 01-27-2011 12:36 PM |