picking a certain value from a cell

M

MeAgain

HI
I have in cell E13 "24 for £24"
and cell E14"19"
I want enter a formula in E15"=(E13)-E14"
I want the answer 5.
How can I do that ie pick £24 from the cell E13 and minus 19 in E14.
I think I do clearify the point here.
please help
Thanks
 
J

J.E. McGimpsey

one way:

E15: =--MID(E13,FIND("£",E13)+1,255)-E14

The -- coerces the string returned by the MID() function to a value
from which E14 can be subtracted.
 
M

MeAgain

fantastic!
thanks

J.E. McGimpsey said:
one way:

E15: =--MID(E13,FIND("£",E13)+1,255)-E14

The -- coerces the string returned by the MID() function to a value
from which E14 can be subtracted.
 

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

Similar Threads

slection change to make the selection go down 1 cell 2
Tricky Formulas 14
Formula 6
sum every nth cell in a row 1
Tricky Formula 2
sum every nth cell in a row 5
Using time values with an IF 4
Payment calculation 1

Top