Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
wiredwrx
 
Posts: n/a
Default Extract numbers from cell with Text and Numbers


Hello All,

I hope someone can help.

I have a column of cells. Each cell contains some text, and then a
number in parenthases, then a comma, and then come text, and then a
number in parenthases, This repeats probably as many as 5 times,
though some cells have fewer then 5. I want to somehow, if possible,
extract JUST THE NUMBERS. If I can automatically get a total so that I
can average the total (dividing by a number in another column, but in
the same row as the numbers extracted) that would be great. I am most
concerned with not having to manually enter the numbers again.

If anyone has any suggestions, I would appreciate your help
tremendously.

Michael


--
wiredwrx
------------------------------------------------------------------------
wiredwrx's Profile: http://www.excelforum.com/member.php...o&userid=21145
View this thread: http://www.excelforum.com/showthread...hreadid=533935

  #2   Report Post  
Posted to microsoft.public.excel.newusers
Peo Sjoblom
 
Posts: n/a
Default Extract numbers from cell with Text and Numbers

A 3 step solution,

1. select the column, do datatext to columns, select delimited, click next,
check commas as delimiter and other and in other put a left parenthesis,
click finish.

2. Select the new range and do ctrl + H, in the find what put a right
parenthesis, leave replace with blank and click replace all.

3. While range is still selected press F5, click special, check constants
but uncheck everything but numbers, click OK, press Ctrl + C, go to a new
page and do editpaste special and select transpose

Do your averaging


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com



"wiredwrx" wrote in
message ...

Hello All,

I hope someone can help.

I have a column of cells. Each cell contains some text, and then a
number in parenthases, then a comma, and then come text, and then a
number in parenthases, This repeats probably as many as 5 times,
though some cells have fewer then 5. I want to somehow, if possible,
extract JUST THE NUMBERS. If I can automatically get a total so that I
can average the total (dividing by a number in another column, but in
the same row as the numbers extracted) that would be great. I am most
concerned with not having to manually enter the numbers again.

If anyone has any suggestions, I would appreciate your help
tremendously.

Michael


--
wiredwrx
------------------------------------------------------------------------
wiredwrx's Profile:
http://www.excelforum.com/member.php...o&userid=21145
View this thread: http://www.excelforum.com/showthread...hreadid=533935



  #3   Report Post  
Posted to microsoft.public.excel.newusers
wiredwrx
 
Posts: n/a
Default Extract numbers from cell with Text and Numbers


Thanks for the help and the quick response. I will try that.

Michael


--
wiredwrx
------------------------------------------------------------------------
wiredwrx's Profile: http://www.excelforum.com/member.php...o&userid=21145
View this thread: http://www.excelforum.com/showthread...hreadid=533935

  #4   Report Post  
Posted to microsoft.public.excel.newusers
Peo Sjoblom
 
Posts: n/a
Default Extract numbers from cell with Text and Numbers

If you do this on a regular basis and this solution works for you then you
can record a macro while doing it the next time, put it in the personal
macro workbook and run the macro


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"wiredwrx" wrote in
message ...

Thanks for the help and the quick response. I will try that.

Michael


--
wiredwrx
------------------------------------------------------------------------
wiredwrx's Profile:
http://www.excelforum.com/member.php...o&userid=21145
View this thread: http://www.excelforum.com/showthread...hreadid=533935



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using numbers as numbers in a cell having text Roland Excel Discussion (Misc queries) 2 March 11th 06 12:41 PM
How can I remove diff. numbers from a cell combined with text Greg Excel Discussion (Misc queries) 5 February 28th 06 07:57 PM
How do I extract numbers from a cell with both text and numbers? SHANNON Excel Worksheet Functions 8 December 2nd 05 02:31 AM
extract numbers from cell containing text & numbers [email protected] Excel Worksheet Functions 1 November 14th 05 07:04 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 02:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"