Matching Names With Figures

mlmrob

Board Regular
Joined
Sep 22, 2008
Messages
78
Office Version
  1. 365
Platform
  1. Windows
Good Evening Guys

I have a spreadsheet with Performance Figures of every racehorse to have run in the UK this year.

What I want to do is match the horse and its figures with the list of those horses running today.

In A is the list of every horse in the UK
In columns B to G are the Performance Figures. The latest being in B
In column H and I are the time of the race today and the track the horse is running at
Column J is a list of horses running that are running on the day

The sheet can be found here


I have tried using the below formula but I only get some Performance Figures.

=INDEX($A$2:$B$1253,MATCH(J2,$A$2:$A$1253,0),2)

Any help would be appreciated

Thank You

Rob
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Thanks Fluff

Thast works a treat for the latest figures, how would I gather the figures for the other races?

Thanks again, very much appreciated

Rob
 
Upvote 0
You need to expand the range
Excel Formula:
=INDEX($B$2:$B$12531,MATCH(J2,$A$2:$A$12531,0))


Fluff, when I have done this today I have been getting the following

1684668463055.png


Below are Atomise Figures, so I should get 67. Any ideas what I am doing wrong. Thanks.

1684668554570.png
 
Upvote 0
On the file you supplied Atomise has (GB) after it in column A, so you could try
Excel Formula:
=INDEX($B$2:$B$12531,MATCH(IF(ISERR(FIND("(",J2)),J2 & " (GB)",J2),$A$2:$A$12531,0))
 
Upvote 0
On the file you supplied Atomise has (GB) after it in column A, so you could try
Excel Formula:
=INDEX($B$2:$B$12531,MATCH(IF(ISERR(FIND("(",J2)),J2 & " (GB)",J2),$A$2:$A$12531,0))


Yeah I noticed that after I had posted. I took the (GB) away to no avail but your new formula has worked a treat.

Would I get the rest by just changing column B to column C on the formula and so on

Thanks again for your help, it is as always appreciated
 
Upvote 0
You could do that, or you could use
Excel Formula:
=XLOOKUP(IF(ISERR(FIND("(",J2)),J2 & " (GB)",J2),$A$2:$A$12531,$B$2:$G$12531,"not found")
which will spill across.
 
Upvote 0
That's perfect, thank for your patience and help.

Kindest Regards

Rob
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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