- Joined
- 5/2/06
- Messages
- 12,753
- Points
- 273
Any Excel expert here can help?
I have a table in one of my spreadsheet that I'd like to look up the maximum value and other thing using Match, Index, redirect, etc. I tried QueryTable but the performance is really slow.
These are makeup values to demonstrate the idea.
Parameters to find max value of a given id on a given date
[/LEFT]
ID = 2406
Date = 5/13/2008
This should result in 79
Also, search parameters to find dealer name corresponding to the result above
ID = 2406
Date = 5/13/2008
This should result in Bear Stearns
I have a table in one of my spreadsheet that I'd like to look up the maximum value and other thing using Match, Index, redirect, etc. I tried QueryTable but the performance is really slow.
These are makeup values to demonstrate the idea.
Code:
ID Price [I]Date[/I] Dealer
[LEFT]
2406 78 5/13/2008 Lehman Brothers
2406 79 5/13/2008 Bear Stearns
2406 77 5/13/2008 Citigroup
2548 89 5/13/2008 Deutsche Bank
2551 81 5/13/2008 Deutsche Bank
1330 81 5/14/2008 Morgan Stanley
1330 86 5/14/2008 Lehman Brothers
1667 94 5/14/2008 Morgan Stanley
1367 71 5/14/2008 Bear Stearns
1367 69 5/14/2008 Morgan Stanley
Parameters to find max value of a given id on a given date
[/LEFT]
ID = 2406
Date = 5/13/2008
This should result in 79
Also, search parameters to find dealer name corresponding to the result above
ID = 2406
Date = 5/13/2008
This should result in Bear Stearns