Breaking out data in a cell
your formula fail if it is....
23rd of 9354
or
31st of 9354
or
22nd of 9999
and so on....
"Gary''s Student" wrote:
with 74th of 9354 in A1,
=LEFT(SUBSTITUTE(A1,"th of ","?"),FIND("?",SUBSTITUTE(A1,"th of ","?"),1)-1)
displays 74
and
=RIGHT(SUBSTITUTE(A1,"th of ","?"),LEN(SUBSTITUTE(A1,"th of
","?"))-FIND("?",SUBSTITUTE(A1,"th of ","?"),1))
displays 9354
--
Gary''s Student - gsnu2007
"Robert Smith" wrote:
Hi folks,
I download a lot of stats via web queries. One set of stats includes 100 or
so cells in a single column with random data like "74th of 9354" without the
quotes. Can someone help me with a formula to break out the separate numbers
74 & 9354 in the columns to the right, so that I can average those 100 or so
cells?
Thanks for any help you can provide.
Bob
|