Hi.
I need assistance please in creating a formula that accesses and displays data from three separate columns. I am setting up separate Excel 2007 worksheets for each of a bunch of cricket players (for those of you familiar with the sport of cricket), in which I enter their bowling figures on the "Bowling" worksheet, in a separate row for each innings. The three columns in question are "Type", in which I enter the competition format of that particular match (one of either "Two-Day", "Ltd Overs" or "AMA20-20"), "Wkts" (in which I enter the number of wickets taken in that innings) and "Runs" (in which I enter the number of runs conceded in that innings).
As I thus populate the "Bowling" worksheet, with the cricketers playing all three types of matches through each season, there are multiple occurrences of the same Match Type, each with different Wickets taken and related Runs conceded in the row concerned.
I attach an example of one player's worksheet, for investigation. The formula that I need is a concatenated one to place after the hyphen in cells L26, L30 and L34 of the worksheet "Career Stats" (this worksheet uses formulas to summarise the content of the "Bowling" and other worksheets), which returns the player's best innings bowling figures in each competition type - "best" being defined as the highest number of wickets taken in an innings for the least number of runs conceded. For the uninitiated, this means that taking 1 wicket for 50 runs is a better performance than taking 0 wickets for 20 runs, but if the same number of wickets are taken on more than one occasion, then the one with the least number of runs conceded is the better return (i.e. 2 for 17 are better figures than 2 for 30, for example).
I can get Excel to display the maximum number of wickets taken in an innings for each Match Type using DMAX, but I can't get my head around the formula needed to display the correct related runs value. Using VLOOKUP didn't help, because it only returns the Runs amount linked to the first instance of the maximum Wkts amount. Thus, if the player later took the same number of wickets but conceded less runs, the formula didn't pick up the new lower runs amount. DMIN and MIN also didn't help, as I couldn't get them to relate to all three criteria (Type, Wkts and Runs).
Can anybody help with this formula please??
Thanks very much!
Bookmarks