Howdy All,
I have a spreadsheet that contains 1 column of data, if the cells of the
column are the city names and populations of towns in the following format:
Appleton, Wisconsin (WI) (pop. 70,087)
The 'pop.' is always present.
I want to extract just the population number (ie: 70,087) from these cells
into another cell.
What is the simplest way to accomplish this?
Thank you,
Brian
Ron Rosenfeld - 19 Aug 2007 18:51 GMT
>Howdy All,
>
[quoted text clipped - 11 lines]
>Thank you,
>Brian
Extracts the value as text:
=SUBSTITUTE(MID(A1,FIND("(pop.",A1)+5,255),")","")
To turn it into a "number":
=--SUBSTITUTE(MID(A1,FIND("(pop.",A1)+5,255),")","")
--ron
Wolfman - 19 Aug 2007 19:44 GMT
Thanks Ron!
>>Howdy All,
>>
[quoted text clipped - 22 lines]
>
> --ron