Morning all.
Thank you for your help on previous questions.
Today I'm looking at horse racing probability and need a little help please.
In my screenshot below I already have formulas on row 136 for columns B-F and for assistance i've put the corresponding formula in the row above.
I want to replace the formula in column B so it does a check of the value in column A first and if the cell in column A contains the word "Places" AND "/" then I want the formula to look upwards to find the first cell that contains the word "runners" AND ":", then return the value in the cell to the right.
So in effect, the new formula that would go in B137 would recognise that A137 contains "Places" AND "/" and therefore would look up and find that A136 contains "runners" AND ":" and therefore returns the value in B136, so in this example the value I would get in B137 would be 17.
I've done some testing and know that the formula below will return the value 1 because cell A137 contains "Places" AND "/", however I want the solution mentioned above to go in the place of 1.
As you will notice in the formula below, if A137 doesn't contain "Places" AND "/" then the formula reverts to the original =(LEFT(A137,FIND(" ",A137)-1)) formula.
=IF(AND(ISNUMBER(SEARCH("Places", A137)), ISNUMBER(SEARCH("/", A137))), 1,(LEFT(A137,FIND(" ",A137)-1)))
Hopefully someone can help me sort the missing piece of my puzzle.
Any questions please ask.
Thanks
Mark
Thank you for your help on previous questions.
Today I'm looking at horse racing probability and need a little help please.
In my screenshot below I already have formulas on row 136 for columns B-F and for assistance i've put the corresponding formula in the row above.
I want to replace the formula in column B so it does a check of the value in column A first and if the cell in column A contains the word "Places" AND "/" then I want the formula to look upwards to find the first cell that contains the word "runners" AND ":", then return the value in the cell to the right.
So in effect, the new formula that would go in B137 would recognise that A137 contains "Places" AND "/" and therefore would look up and find that A136 contains "runners" AND ":" and therefore returns the value in B136, so in this example the value I would get in B137 would be 17.
I've done some testing and know that the formula below will return the value 1 because cell A137 contains "Places" AND "/", however I want the solution mentioned above to go in the place of 1.
As you will notice in the formula below, if A137 doesn't contain "Places" AND "/" then the formula reverts to the original =(LEFT(A137,FIND(" ",A137)-1)) formula.
=IF(AND(ISNUMBER(SEARCH("Places", A137)), ISNUMBER(SEARCH("/", A137))), 1,(LEFT(A137,FIND(" ",A137)-1)))
Hopefully someone can help me sort the missing piece of my puzzle.
Any questions please ask.
Thanks
Mark