Hi, I'm currently working on a way to extract a value from a clinical report, example "The left ventricular ejection fraction is calculated as 61% ( normal value > 60%)".
So far, I have been able to use a formula to extract the data (in this case 61%) by asking excel to find values after the words "calculated as" with the function
=LOOKUP(9.9E+307,--LEFT(MID(MID(C2,FIND("ated as ",C2)+2,999),MIN(FIND({0,1,2,3,4,5,6,7,8,9},MID(C2,FIND("ated as ",C2)+2,999)&"0123456789")),999),ROW($1:$999)))
But I have found difficulties when the reports are not uniform, as some are reported with different precursor words.
Would anyone be able to help me with this? Or are there more efficient ways to extract a single numerical value from a sentence for Excel 2013?
So far, I have been able to use a formula to extract the data (in this case 61%) by asking excel to find values after the words "calculated as" with the function
=LOOKUP(9.9E+307,--LEFT(MID(MID(C2,FIND("ated as ",C2)+2,999),MIN(FIND({0,1,2,3,4,5,6,7,8,9},MID(C2,FIND("ated as ",C2)+2,999)&"0123456789")),999),ROW($1:$999)))
But I have found difficulties when the reports are not uniform, as some are reported with different precursor words.
Would anyone be able to help me with this? Or are there more efficient ways to extract a single numerical value from a sentence for Excel 2013?