#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default help needed

I have a worksheet that has text and numbers in the same cell. I want to
multiply the numbers in that cell to another number in another cell. Any
suggestions??
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default help needed

An example of the format of this data?

"Todd7724" wrote:

I have a worksheet that has text and numbers in the same cell. I want to
multiply the numbers in that cell to another number in another cell. Any
suggestions??

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default help needed

6.00
2 x IN

I am looking for a formula that will give me the answer of 12 without
changing the look of either cell.
What the sheet does is pull data into excel from another program. 1 column
has a time (6.00) and the other has number of people (2 x IN). I need to
multiply these together to get the amount of time total for the job task
(another column).

"Toppers" wrote:

An example of the format of this data?

"Todd7724" wrote:

I have a worksheet that has text and numbers in the same cell. I want to
multiply the numbers in that cell to another number in another cell. Any
suggestions??

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default help needed

On 13 mar, 18:50, Todd7724 wrote:
6.00
2 x IN

I am looking for a formula that will give me the answer of 12 without
changing the look of either cell.
What the sheet does is pull data into excel from another program. 1 column
has a time (6.00) and the other has number of people (2 x IN). I need to
multiply these together to get the amount of time total for the job task
(another column).



"Toppers" wrote:
An example of the format of this data?


"Todd7724" wrote:


I have a worksheet that has text and numbers in the same cell. I want to
multiply the numbers in that cell to another number in another cell. Any
suggestions??- Ocultar texto entre aspas -


- Mostrar texto entre aspas -


Example:
Text Value Formula
8 cores 80 =left(céll;1)

Of the Amazonian Forest (Manaus/Amazon/Brazil) for the world.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default help needed

Assuming that there is only one set of numbers, or you want all the numbers
treated as a consecutive number, (ie with "A1B2c3" or "ABD123" in the cell
you want the number 123 extracted), and the numbers will always be
integers, try the Custom formula:

Function NumberIt(Here As Range, There As Range)

n = 1

For x = Len(Here) To 1 Step -1
If IsNumeric(Mid(Here, x, 1)) Then
m = m + CInt(Mid(Here, x, 1)) * n
n = n * 10
End If
Next x

NumberIt = m * There

End Function

Then enter the formula:
=NumberIt(cell reference with text, cell reference with number)

ie NumberIt(D3,E3)

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"Todd7724" wrote in message
...
I have a worksheet that has text and numbers in the same cell. I want to
multiply the numbers in that cell to another number in another cell. Any
suggestions??





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
More IF help needed Michell Major Excel Discussion (Misc queries) 2 November 13th 06 04:38 PM
More help needed :-( ChrisMattock Excel Worksheet Functions 5 June 28th 06 01:03 PM
help needed todd22 Excel Discussion (Misc queries) 3 March 5th 06 07:46 PM
help needed zomex Excel Worksheet Functions 5 January 4th 06 12:54 PM
If/AND/OR help needed.. Anthony Slater Excel Discussion (Misc queries) 5 April 25th 05 05:41 PM


All times are GMT +1. The time now is 06:59 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"