Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kimi
 
Posts: n/a
Default Creating a formula

In Excel 2003, how do I key a multiplication formula for a cell that contains
numbers and text.
  #2   Report Post  
Max
 
Posts: n/a
Default

If the data structure is consistent down the col, think it's good to split
the numbers from the text via Data Text to columns

Assume data below is in col A, A1 down

20 Text1
21 Text1
22 Text1
23 Text1
24 Text1
25 Text1

To split, select col A
Click Data Text to columns
(Delimited will be selected)
Click Next, and check "Space" in step2
Click Finish

Col A will be split into cols A and B
(Ensure you have sufficient empty cols to the right to receive the split
portions before proceeding)

Alternatively, you could also "split" the number / text in col A
into 2 adjacent cols using formulas ..

Put in B1: =LEFT(A1,SEARCH(" ",TRIM(A1))-1)+0
Put in C1: =MID(A1,SEARCH(" ",TRIM(A1))+1,99)
(the "99" in MID is just an arbitrary figure, adjust to suit)

Select B1:C1 and copy down

Then just point formulas to col B for your calcs on the numbers
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Kimi" wrote in message
...
In Excel 2003, how do I key a multiplication formula for a cell that

contains
numbers and text.



  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

If you split it apart into two cells (numeric and text), your life will become
much simpler.

But depending on how your data looks, you may be able to use a formula.

(Or you might get some nice techniques to split it into a couple of cells.)

Kimi wrote:

In Excel 2003, how do I key a multiplication formula for a cell that contains
numbers and text.


--

Dave Peterson
  #4   Report Post  
Max
 
Posts: n/a
Default

Put in B1: =LEFT(A1,SEARCH(" ",TRIM(A1))-1)+0
Put in C1: =MID(A1,SEARCH(" ",TRIM(A1))+1,99)


Slight revision to above. Use instead:
In B1: =LEFT(TRIM(A1),SEARCH(" ",TRIM(A1))-1)+0
In C1: =MID(TRIM(A1),SEARCH(" ",TRIM(A1))+1,99)
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----


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
need help creating formula based on cell value Brad Excel Discussion (Misc queries) 3 April 1st 05 07:51 PM
Creating a specific formula booroni New Users to Excel 3 March 26th 05 10:05 AM
Creating a formula using absolute referencing - I think!! Victoria Excel Worksheet Functions 4 February 26th 05 08:13 PM
Creating an EXCEL COUNTIF formula for a range of values Pat Walsh Excel Discussion (Misc queries) 5 January 21st 05 02:57 PM
Creating Formula using check boxes Anthony Slater Excel Discussion (Misc queries) 3 January 4th 05 03:03 PM


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