Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default cells containing text and numbers

Thanks Ron. This worked too. I really appreciate the help I get from folk
who know so much more than I do on this site.

"Ron Rosenfeld" wrote:

On Mon, 21 Jul 2008 03:35:01 -0700, Skibee
wrote:

Can anyone help?

I have an Excel worksheet which is data downloaded from a stock control
package.

A column named containers has data such as
CX15
BX30
SX10

In order to perform another calculation, I need to isolate the number in
each cell (ie the 15, 30, 10 etc) from the letters and multiply the number
component by numerical data in another column.

Is there any formula I can insert into a fresh column which will do this? I
have tried conditional formulas and lookup tables, but to no avail.


=LOOKUP(9.9E+307,--MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"
0123456789")),ROW(INDIRECT("1:"&LEN(A1)))))



Am I right in suspecting that in cells containing a mix of letters and
numbers, Excel does not treat the number as a number but rather as general
text?


Yes you are.
--ron

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
Sumproduct with text and numbers in cells Lee New Users to Excel 10 April 21st 08 04:18 PM
Why won't my cells change from Text to % or Numbers Ezlpo Excel Discussion (Misc queries) 3 October 3rd 06 07:00 AM
How do I sum numbers in cells that have text? PageRow Excel Worksheet Functions 5 March 13th 06 04:55 PM
Cells as text not numbers??? tkaplan Excel Discussion (Misc queries) 1 July 16th 05 03:29 AM
How do I sum numbers from cells that contain text nicklissa Excel Worksheet Functions 16 March 18th 05 07:04 PM


All times are GMT +1. The time now is 09:09 AM.

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"