Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a table of codes, fees, and change dates such as below. The change
dates can happen at any point and the fees do not fall into any pattern. the list is sorted by code ascending and change date ascending. code fee change date AA 10 1/1/2007 AA 15 1/15/2007 AA 12 2/20/2007 .... BB 5 1/1/2007 BB 10 1/23/2007 .... I have a list of records with codes and dates and have to lookup against this list to find the lastest date change before the date on the record and return the fee (ie. if the date on the record says 1/10/2007 for code AA, i'd return the fee 10). If there was only one code in the lookup, this would be simple. I'd just do a vlookup(,,,FALSE) against the lookup table to return the fee. However, since there are multiple codes, this isn't as easy. Hopefully that makes sense. I'm looking for a solution *without* using VBA. I have some code that does this already, but I figure it's worth a shot to see whether this can be done through worksheet functions alone. Thanks, -Mark |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VLookup based on two criteria | Excel Discussion (Misc queries) | |||
VLookup based on two criteria | Excel Discussion (Misc queries) | |||
Looking up values based on two criteria | Excel Worksheet Functions | |||
Add a row based on other criteria | Excel Worksheet Functions | |||
Need help looking up value based on criteria | Excel Worksheet Functions |