If I have a string of text in cell A1 as follows...
"Asfsdfsdf (£30) - 3 x gfgdfgfdgfdgf, £4.50 dgfdgfdg"
... Is it possible to extract the 2 prices (both preceded by "£"), add them together, and put the total in cell B1? (in this case resulting in £34.50 being displayed in cell B1)
Issues that are making this formula tricky to work out as follows....
- Sometimes the price has no decimal places and sometimes the price has 2 decimal places.
- Sometimes the price is immediately followed by a closed bracket ")" rather than a space " ".
- Sometimes there are other numbers in the string that aren't a price - in this case there is a number 3 in cell A1 which needs ignoring as it is not a price.
Bookmarks