Hi all,
I've nearly completed an epic learning project but stuck at the final Furlong.
Im working with Horse Racing Data Imported from the Web. I have rearranged and Custom Filtered the best i could and finally have the Filtered minimal amount of Data that i can possibly achieve to help with my final stage.
I need help with x3 Formulas to be Filled down in my tables.
The Problem;
I have Two Tables, One for UK Races and the other for IRE races. For each of these i already have the 'Course Name' & 'Time' of race. (imported from a Custom Power Query).
I then have 3 more Fields which i need Formulas to return the relevant data from the Filtered Web Page Data. These are, 'Distance, Class, Prize Money' , 'Runners' & 'Non-Runners'.
The problem i have is that although the Data is in Time order, I have to separate the Data into the Tables from UK & IRE Races. The good news is that the data i have Filtered is very consistent in its format.
I have attached a stripped back Worksheets which includes a UK & IRE (underneath UK) Table with the Fields 'Distance, Class, Prize Money' , 'Runners' & 'Non-Runners' left blank for the problem Formulas. Next to this i have included an example Table demonstrating for this example the correct Information that should be returned by the Formulas.
I have Color coded the relevant Cells that relate to each other if that helps.
As you can see from my attachment, the 'Distance, Class, Prize Money' Field is self explanatory but just needs the relevant information for the correct race to be placed into the Tables. The 'Runners' Field needs to again import the relevant Data which is eg, "16 Ran" but just return the number, so "16" into the relevant table position. Finally for the 'Non-Runners' Field i need the formula to not only import the correct data into the Table in the Correct position but return a value based on the number of commas in the Cell below "NR:" from the Web Data.
For example,
NR:
Aisteoir (passport irregularities), Ardglen Flyer (temperature)
i would need to return the Value of 2, or,
NR:
Lilly Be (unsuitable ground)
i would need to return the value of 1.
The pattern is as follows,
If there are 'Non-Runners' and 0 Commas then return the value of 1,
If there are 'Non-Runners' and 1 Commas then return the value of 2,
If there are 'Non-Runners' and 2 Commas then return the value of 3,
etc....
I know this sounds REALLY complicated but if you do kindly take a look at the attachment you can see its just x3 Formulas possibly INDEX/MATCH that can then be Filled down the Tables.
Finally, the Table Data and Web Data change so the x3 Formulas are required rather than just referencing the corresponding Cells.
I really appreciate any help or advice and please just let me know if you need any more information if you fancy having a crack at helping.
Many Thanks guys!
(ps, Scroll down for the IRE Tables)
Bookmarks