Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a quick question for you seasoned Excel gurus... I use Excel to track
win/loss streaks across several major league baseball teams. I then consolidate them on one sheet with game date on the left, and the vlookup results from the detail sheet for each team. I was doing fine, until April 27th when the Mets and Dodgers played a double-header, and now had 2 game detail data for the one date. I know I can use a Countif(A1:A100, A2) to determine if I have multiple dates, but don't know how to return the first true on one line, and the 2nd true on a second line. Any ideas? A B C Mon, Apr 26 LA Dodgers POSTPONED Tue, Apr 27 LA Dodgers W 4-0 Tue, Apr 27 LA Dodgers W 10-5 Wed, Apr 28 LA Dodgers W 7-3 where vlookup(A2, A1:C4, 3, False) = "W 4-0" ... then, I want to return "W 10-5" on the next line. Any ideas? I imagine there is a quick solution for you pros, but I'm not sure how to get it done. Thanks for any help! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You have replies at your other post.
-- Biff Microsoft Excel MVP "MarkinArk" wrote in message ... I have a quick question for you seasoned Excel gurus... I use Excel to track win/loss streaks across several major league baseball teams. I then consolidate them on one sheet with game date on the left, and the vlookup results from the detail sheet for each team. I was doing fine, until April 27th when the Mets and Dodgers played a double-header, and now had 2 game detail data for the one date. I know I can use a Countif(A1:A100, A2) to determine if I have multiple dates, but don't know how to return the first true on one line, and the 2nd true on a second line. Any ideas? A B C Mon, Apr 26 LA Dodgers POSTPONED Tue, Apr 27 LA Dodgers W 4-0 Tue, Apr 27 LA Dodgers W 10-5 Wed, Apr 28 LA Dodgers W 7-3 where vlookup(A2, A1:C4, 3, False) = "W 4-0" ... then, I want to return "W 10-5" on the next line. Any ideas? I imagine there is a quick solution for you pros, but I'm not sure how to get it done. Thanks for any help! |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
See
http://www.ozgrid.com/VBA/ultimate-e...p-function.htm -- Regards Dave Hawley www.ozgrid.com "MarkinArk" wrote in message ... I have a quick question for you seasoned Excel gurus... I use Excel to track win/loss streaks across several major league baseball teams. I then consolidate them on one sheet with game date on the left, and the vlookup results from the detail sheet for each team. I was doing fine, until April 27th when the Mets and Dodgers played a double-header, and now had 2 game detail data for the one date. I know I can use a Countif(A1:A100, A2) to determine if I have multiple dates, but don't know how to return the first true on one line, and the 2nd true on a second line. Any ideas? A B C Mon, Apr 26 LA Dodgers POSTPONED Tue, Apr 27 LA Dodgers W 4-0 Tue, Apr 27 LA Dodgers W 10-5 Wed, Apr 28 LA Dodgers W 7-3 where vlookup(A2, A1:C4, 3, False) = "W 4-0" ... then, I want to return "W 10-5" on the next line. Any ideas? I imagine there is a quick solution for you pros, but I'm not sure how to get it done. Thanks for any help! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lookup Formula: Return 1st match, then 2nd match, then 3rd match | Excel Discussion (Misc queries) | |||
MATCH Multiple Criteria & Return Previous / Penultimate Match | Excel Worksheet Functions | |||
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null | Excel Discussion (Misc queries) | |||
Vlookup does not return approx match | Excel Worksheet Functions | |||
Return alternate value if VLookup can't find match | Excel Worksheet Functions |