Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Number/Text combination formula

How do I create a formula that gives a dollar amount as the ending result in
a cell when the cell that formula is referencing contains numbers and text?
Example 5 Boxes at 5.99= $29.95($0.00 dollar amount being the end result 5
boxes being the number/text cell reference for the formula) Anyhelp anyone
can provide is greatly appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Number/Text combination formula

I am not sure I understood your query correctly..If you are looking to find
the result from the data in cell A1; try the below

A1 = 5 Boxes at 5.99

=(LEFT(A1,FIND(" ",A1)-1)+0)*(TRIM(RIGHT(SUBSTITUTE(A1," ",REPT("
",LEN(A1))),LEN(A1)))+0)

If this post helps click Yes
---------------
Jacob Skaria


"donnae" wrote:

How do I create a formula that gives a dollar amount as the ending result in
a cell when the cell that formula is referencing contains numbers and text?
Example 5 Boxes at 5.99= $29.95($0.00 dollar amount being the end result 5
boxes being the number/text cell reference for the formula) Anyhelp anyone
can provide is greatly appreciated!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Number/Text combination formula

(all in one line)
=(LEFT(A1,FIND(CHAR(32),A1)-1))*(TRIM(RIGHT(SUBSTITUTE(A1,CHAR(32),REPT(CHAR(3 2),LEN(A1))),LEN(A1))))

If this post helps click Yes
---------------
Jacob Skaria


"donnae" wrote:

How do I create a formula that gives a dollar amount as the ending result in
a cell when the cell that formula is referencing contains numbers and text?
Example 5 Boxes at 5.99= $29.95($0.00 dollar amount being the end result 5
boxes being the number/text cell reference for the formula) Anyhelp anyone
can provide is greatly appreciated!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Number/Text combination formula

Hi Jacob thanks for the quick response, lets see if I can articulate a little
clearer. This is how my spread sheet is set up:
Quantity Unit Cost Total Cost
5 Boxes(Coloum/Cell # A1) $5.29(A2) 26.45(A3)
My formula currently looks like this =A1*A2 . I get a VALUE ERROR message
because cell A1 contains text! How do I create a formula that will ignore the
text portion of cell A1 and give me the total dollar amount in cell A3?

How do I create a formula that gives a dollar amount as the ending result in
a cell when the cell that formula is referencing contains numbers and text?
Example 5 Boxes at 5.99= $29.95($0.00 dollar amount being the end result 5
boxes being the number/text cell reference for the formula) Anyhelp anyone
can provide is greatly appreciated!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Number/Text combination formula

If you have a space between the numeric part and text in cell A1 use the
formula

=(LEFT(A1,FIND(CHAR(32),A1)-1)) * A2

If there are no spaces use the below formula;Please note that this is an
array formula. Within the cell in edit mode (F2) paste this formula and press
Ctrl+Shift+Enter to apply this formula. If successful in 'Formula Bar' you
can notice the curly braces at both ends like "{=<formula}"

=LEFT(A1,COUNT(1*MID(A1,ROW($1:$9),1)))*A2

If this post helps click Yes
---------------
Jacob Skaria


"donnae" wrote:

Hi Jacob thanks for the quick response, lets see if I can articulate a little
clearer. This is how my spread sheet is set up:
Quantity Unit Cost Total Cost
5 Boxes(Coloum/Cell # A1) $5.29(A2) 26.45(A3)
My formula currently looks like this =A1*A2 . I get a VALUE ERROR message
because cell A1 contains text! How do I create a formula that will ignore the
text portion of cell A1 and give me the total dollar amount in cell A3?

How do I create a formula that gives a dollar amount as the ending result in
a cell when the cell that formula is referencing contains numbers and text?
Example 5 Boxes at 5.99= $29.95($0.00 dollar amount being the end result 5
boxes being the number/text cell reference for the formula) Anyhelp anyone
can provide is greatly appreciated!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 120
Default Number/Text combination formula

perhap this
assuming that data start at row 2 onward, place this in C2 and copy down
=LEFT(A2,SEARCH(" ",A2,1))*B2

--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked

Thank You

cheers, francis

Am not a greek but an ordinary user trying to assist another



"donnae" wrote:

Hi Jacob thanks for the quick response, lets see if I can articulate a little
clearer. This is how my spread sheet is set up:
Quantity Unit Cost Total Cost
5 Boxes(Coloum/Cell # A1) $5.29(A2) 26.45(A3)
My formula currently looks like this =A1*A2 . I get a VALUE ERROR message
because cell A1 contains text! How do I create a formula that will ignore the
text portion of cell A1 and give me the total dollar amount in cell A3?

How do I create a formula that gives a dollar amount as the ending result in
a cell when the cell that formula is referencing contains numbers and text?
Example 5 Boxes at 5.99= $29.95($0.00 dollar amount being the end result 5
boxes being the number/text cell reference for the formula) Anyhelp anyone
can provide is greatly appreciated!

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Number/Text combination formula

Did'nt work....I'm still getting the Value Error Message.....

"Jacob Skaria" wrote:

If you have a space between the numeric part and text in cell A1 use the
formula

=(LEFT(A1,FIND(CHAR(32),A1)-1)) * A2

If there are no spaces use the below formula;Please note that this is an
array formula. Within the cell in edit mode (F2) paste this formula and press
Ctrl+Shift+Enter to apply this formula. If successful in 'Formula Bar' you
can notice the curly braces at both ends like "{=<formula}"

=LEFT(A1,COUNT(1*MID(A1,ROW($1:$9),1)))*A2

If this post helps click Yes
---------------
Jacob Skaria


"donnae" wrote:

Hi Jacob thanks for the quick response, lets see if I can articulate a little
clearer. This is how my spread sheet is set up:
Quantity Unit Cost Total Cost
5 Boxes(Coloum/Cell # A1) $5.29(A2) 26.45(A3)
My formula currently looks like this =A1*A2 . I get a VALUE ERROR message
because cell A1 contains text! How do I create a formula that will ignore the
text portion of cell A1 and give me the total dollar amount in cell A3?

How do I create a formula that gives a dollar amount as the ending result in
a cell when the cell that formula is referencing contains numbers and text?
Example 5 Boxes at 5.99= $29.95($0.00 dollar amount being the end result 5
boxes being the number/text cell reference for the formula) Anyhelp anyone
can provide is greatly appreciated!

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Number/Text combination formula

Try out the below test and feedback..

ColA ColB ColC
5 books 20 =(LEFT(A2,FIND(CHAR(32),A2)-1))*B2

If this post helps click Yes
---------------
Jacob Skaria


"donnae" wrote:

Did'nt work....I'm still getting the Value Error Message.....

"Jacob Skaria" wrote:

If you have a space between the numeric part and text in cell A1 use the
formula

=(LEFT(A1,FIND(CHAR(32),A1)-1)) * A2

If there are no spaces use the below formula;Please note that this is an
array formula. Within the cell in edit mode (F2) paste this formula and press
Ctrl+Shift+Enter to apply this formula. If successful in 'Formula Bar' you
can notice the curly braces at both ends like "{=<formula}"

=LEFT(A1,COUNT(1*MID(A1,ROW($1:$9),1)))*A2

If this post helps click Yes
---------------
Jacob Skaria


"donnae" wrote:

Hi Jacob thanks for the quick response, lets see if I can articulate a little
clearer. This is how my spread sheet is set up:
Quantity Unit Cost Total Cost
5 Boxes(Coloum/Cell # A1) $5.29(A2) 26.45(A3)
My formula currently looks like this =A1*A2 . I get a VALUE ERROR message
because cell A1 contains text! How do I create a formula that will ignore the
text portion of cell A1 and give me the total dollar amount in cell A3?

How do I create a formula that gives a dollar amount as the ending result in
a cell when the cell that formula is referencing contains numbers and text?
Example 5 Boxes at 5.99= $29.95($0.00 dollar amount being the end result 5
boxes being the number/text cell reference for the formula) Anyhelp anyone
can provide is greatly appreciated!

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default Number/Text combination formula

Try this formula in A3...

=A2*LOOKUP(9.9E+307,--LEFT(A1,ROW($1:$99)))

By the way, it would have been clearer had you listed your data vertically
(since your data is all in Column A) instead of horizontally making it look
like your data was all in Row 2.

--
Rick (MVP - Excel)


"donnae" wrote in message
...
Hi Jacob thanks for the quick response, lets see if I can articulate a
little
clearer. This is how my spread sheet is set up:
Quantity Unit Cost Total Cost
5 Boxes(Coloum/Cell # A1) $5.29(A2) 26.45(A3)
My formula currently looks like this =A1*A2 . I get a VALUE ERROR message
because cell A1 contains text! How do I create a formula that will ignore
the
text portion of cell A1 and give me the total dollar amount in cell A3?

How do I create a formula that gives a dollar amount as the ending result
in
a cell when the cell that formula is referencing contains numbers and
text?
Example 5 Boxes at 5.99= $29.95($0.00 dollar amount being the end result
5
boxes being the number/text cell reference for the formula) Anyhelp
anyone
can provide is greatly appreciated!


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
Combination text/number input mask Travel Guy Excel Discussion (Misc queries) 1 June 7th 09 09:13 PM
Number generator and combination Jessshin Excel Discussion (Misc queries) 1 October 19th 07 04:26 PM
combination of six digit number from 0 to 49 Divya Excel Worksheet Functions 1 February 26th 07 07:16 AM
Number Combination finder GMD Excel Worksheet Functions 2 September 8th 06 05:14 PM
Excel: Allow combination of formula answer and text in one cell wood nerd Excel Worksheet Functions 3 May 4th 06 01:07 AM


All times are GMT +1. The time now is 06:15 PM.

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

About Us

"It's about Microsoft Excel"