Removing a quotation mark from a cell through a function.

R

Ryan

I would like to use a function(s) to remove a quotation mark from a cell.
Currently I have a cell that users enter a length, such as 11" or 101" and I
would to use just the number portion in a subsequent function.
 
G

Gary''s Student

Say A1 has the value. rather than:
=30+A1
use:
=30--LEFT(A1,LEN(A1)-1)

this discards the double quote and makes it a number.
 
J

Jacob Skaria

Another way using substitute

=SUBSTITUTE(A1,CHAR(34),)+0
OR
=--SUBSTITUTE(A1,CHAR(34),)

If this post helps click Yes
 

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