it will lookup Cell A7 in array A1:B4 for the resul in the 2nd Column and take that value and lookup in array E1:F4 for the result in the Second Column.
I am looking the corresponding points according to the persons actual time, gender and age. The table that has the time and the respective points contains all ages and time.
Now, I am going based that you have three criteria and the array looks somethin like:
age gender time pts etc
10 m 5 6 A
10 f 5 7 A
10 m 6 5 B
10 f 6 6 B
Now, lets say that is your array. Now you have the criteria in cells R2 (age), S2 (gender), T2 (Actual Time)...
So, we have
R2 is 10
S2 is f
T2 is 5:20
Based that you want to round down to the nearest minute, you need three cells that will put the data into the format for a DGET. So, lets say in cells R4,S4,T4 put the column headings age,gender,time. In:
R5, put =R2
S5 put =S2
T5 put =MINUTE(T2)
and in the cell you want to lookup the information, put:
=DGET(<Main array>,<Column Number that the points are in>,R4:T5)
Could you not just use TRUE as the 4th aegument in the vlookup to get the nearest number of minutes instead of FALSE which gives an exact match ??
Rgds, Geoff [blue]Si hoc signum legere potes, operis boni in rebus Latinus alacribus et fructuosis potiri potes![/blue]
Want the [red]best[/red] answers to your questions ? faq222-2244
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.