Symbol or text after number to used in sum

G

Guest

Please could you tell me if it is possible to insert a symbol or a letter
after a number in the same cell and still use the number in that cell in a
sum? For example i want to put 11.5* in B1, 11.5 in b2, 15 in b3 and add the
3 numbers togteher excluding the astreick in b4) Thank you
 
G

Guest

This array formula appears to work

=SUM(--SUBSTITUTE(B11:B3,"*",""))

commit it with Ctrl-Shift-Enter
 
H

Harlan Grove

Duke Carey said:
This array formula appears to work

=SUM(--SUBSTITUTE(B11:B3,"*",""))

commit it with Ctrl-Shift-Enter
....

Or use SUMPRODUCT, e.g.,

=SUMPRODUCT(--SUBSTITUTE(B1:B3,"*",""))

and not have to bother with array entry.
 
G

Guest

Harlan -

There's a long series of posts in an earlier thread "Extracting a numbers
from a text string" where I finally got the answer for the OP, but I'd bet
you could promulgate a far simpler solution. Can you take a look?
 
G

Guest

Another way is to use the custom format feature of Excel.

Format cells - custom

enter

# "*"

That way you can use the sum function without all the other hoopla
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top