extracting numerical data

S

sroehl

I have cells in my worksheet containing results from using ="text"&COUNTIF...
For example, one cell contains "exc 9", because there are nine times "exc"
is seen in the column. I want to know if I can extract the numerical data
from these cells to use in pie charts. Excel 2002 SP-2.
 
T

Tushar Mehta

If the number you want to extract always has a leading space before it,
you can use =0+TRIM(MID(A1,FIND(" ",A1),1024)) where A1 contains the
string of interest.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top