ollyhughes1982

Well-known Member
Joined
Nov 27, 2018
Messages
718
Office Version
  1. 365
Platform
  1. MacOS
Hi. I have an issue with cell DU5. All other cells work properly except this one. You can see that I am trying to return the best result out of 10 possible ones. It seems to work for the other 2 columns next to it, but for this cell it is returning 6.00%, when it should be returning 8.00%. I don't understand how the two columns next to it can be returning correctly when that one isn't. Seems strange.

Please help! Thanks.

Link to file is below:

https://1drv.ms/x/s!AtIvkRgReIvwgQW4zeMTid-oNo3b
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
How do you know it should be 8%?
*EDIT* Nvm, just saw the best time.
 
Last edited:
Upvote 0
Because the percentage that relates to the best time result is 8.00%. The match is basically looking for the fastest time out of the 10 and then copying the adjacent columns
 
Upvote 0
How do you know it should be 8%?
*EDIT* Nvm, just saw the best time.
In column X there is also a record with the time of 00:00:03, the index formula is taking the first it can find aka the first 00:00:03 with the age grade of 6.00%. thats why its showing 6% instead of 8% because the 8% record comes in a later column.
 
Upvote 0
Ah, ok. So how do I adjust it to only look at cells CF5:DS5 for results? I would also only want the other event (event 4) that is also looking at sub-events for the best time, to do this. i.e. Between P5:AU5. Thanks
 
Upvote 0
Ah, ok. So how do I adjust it to only look at cells CF5:DS5 for results? I would also only want the other event (event 4) that is also looking at sub-events for the best time, to do this. i.e. Between P5:AU5. Thanks
in DU5 put this: =INDEX($CF5:$DS5;MATCH($DT5;$CF5:$BVI5;0)+COLUMN(A1)) all i changed is A5 to CF5. It seems for AW5 (event 4) you should change the A5 to P5. I think this solves your problems?
 
Upvote 0
[FONT=&quot]So, basically what I want to do is:[/FONT]
[FONT=&quot]
[/FONT]
[FONT=&quot]For Event 4 (Has 8 sub-events, from which I want to identify the fastest time result)[/FONT]
[FONT=&quot]
[/FONT]

  • For cell AV5: Find the ‘Time’ column with the lowest time, out of the 8 possible sub-events. i.e. From columns P5,T5,X5,AB5,AF5,AJ5,AN5,AR5. In this case P5 (00:00:01)
  • For cell AW5: I then want the corresponding next column value (‘Age-Grade’). In this case Q5 (8.00%)
  • For cell AX5: I then want the corresponding next column value (‘Finishing Position’). In this case R5 (1)
  • For cell AY5: I then want the corresponding next column value (‘Points League Event Points’). In this case S5 (150)
[FONT=&quot]
[/FONT]
[FONT=&quot]For Event 13 (Has 10 sub-events, from which I want to identify the fastest time result)[/FONT]
[FONT=&quot]
[/FONT]

  • For cell DT5: Find the ‘Time’ column with the lowest time, out of the 10 possible sub-events. i.e. From columns CF5,CJ5,CN5,CR5,CV5,CZ5,DD5,DH5,DL5,DP5. In this case CN5 (00:00:03)
  • For cell DU5: I then want the corresponding next column value (‘Age-Grade’). In this case CO5 (8.00%)
  • For cell DV5: I then want the corresponding next column value (‘Finishing Position’). In this case CP5 (3)
  • For cell Dw5: I then want the corresponding next column value (‘Points League Event Points’). In this case CQ5 (148)
[FONT=&quot]
[/FONT]
[FONT=&quot]Any help much appreciated![/FONT]
[FONT=&quot]
[/FONT]
[FONT=&quot]Thanks.[/FONT]
 
Upvote 0
So, basically what I want to do is:


For Event 4 (Has 8 sub-events, from which I want to identify the fastest time result)



  • For cell AV5: Find the ‘Time’ column with the lowest time, out of the 8 possible sub-events. i.e. From columns P5,T5,X5,AB5,AF5,AJ5,AN5,AR5. In this case P5 (00:00:01)
  • For cell AW5: I then want the corresponding next column value (‘Age-Grade’). In this case Q5 (8.00%)
  • For cell AX5: I then want the corresponding next column value (‘Finishing Position’). In this case R5 (1)
  • For cell AY5: I then want the corresponding next column value (‘Points League Event Points’). In this case S5 (150)


For Event 13 (Has 10 sub-events, from which I want to identify the fastest time result)



  • For cell DT5: Find the ‘Time’ column with the lowest time, out of the 10 possible sub-events. i.e. From columns CF5,CJ5,CN5,CR5,CV5,CZ5,DD5,DH5,DL5,DP5. In this case CN5 (00:00:03)
  • For cell DU5: I then want the corresponding next column value (‘Age-Grade’). In this case CO5 (8.00%)
  • For cell DV5: I then want the corresponding next column value (‘Finishing Position’). In this case CP5 (3)
  • For cell Dw5: I then want the corresponding next column value (‘Points League Event Points’). In this case CQ5 (148)


Any help much appreciated!


Thanks.
Yes so i basically already answered it.
So the ONLY cell you need to change = in DU5 put this: =INDEX($CF5:$DS5;MATCH($DT5;$CF5:$BVI5;0)+COLUMN(A1))
For Event 4 it already is correct. only Event 13 how it is now looks for all the events instead of the 10. So if you just put that in there it will only look for the 10 events. For Event 4 it already looks only at the 8 events. This i already posted.
 
Upvote 0

Forum statistics

Threads
1,216,763
Messages
6,132,583
Members
449,737
Latest member
naes

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top