hi every one...
I m importing data from one other sheet which is like that "20 x 2.5 kgs"
I want a formula which give me reply "50" in cell B1...
thanks for any help in advance
Cell A1 = 20 x 2.5 kgs
I want in Cell B1 = 50
hi every one...
I m importing data from one other sheet which is like that "20 x 2.5 kgs"
I want a formula which give me reply "50" in cell B1...
thanks for any help in advance
Cell A1 = 20 x 2.5 kgs
I want in Cell B1 = 50
How about doing text to columns with space as the delimiter, and then multiplying the resulting numeric cells?
Entia non sunt multiplicanda sine necessitate
Thanks shg...but is there any formula for that??? cuz some time its like that (no space bewteen 2.5 & Kgs (2.5kgs)...so any suggestion pls?
Cell A1 = 20 x 2.5kgs
Cell A1 = 20 x 2.5 kgs
Try this;
=LEFT(A1,FIND(" ",A1,1)-1)*(MID(A1,6,3))
Thanks
This is a bit of a mouthfull, but it should cover most variations likely to be incurred
e.g.Please Login or Register to view this content.
20 x 2.5kgs
20 x 2.5 kgs
20x2.5kgs
20x 2.5 Kgs
20 x 2.5 kgs
21 x 2.5 kgs
220 x 2.5 KGS
200.0x 2.5 kgs
Hope this helps
If you need any more information, please feel free to ask.
However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....
Also
اس کی مدد کرتا ہے اگر
شکریہ کہنے کے لئے سٹار کلک کریں
If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.
or
=LEFT(A1,SEARCH("x",A1)-1)*SUBSTITUTE(UPPER(MID(A1,SEARCH("x",A1)+1,20)),"KGS","")
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
I'll give you that one Martin!
Must spend a little time more thinking, rather than just charging at things!
I m sorry, i was on weekend..
Thanks every one who helped me and spared your costly time for me..
..I will try these all formulas and see which one is more suitable for me..hope all will be fine..
God Bless you all of you and your families..
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks