dear friends,
i have one more problem, how to add alpha numeric numbers
like a12
b34
c1l
d57
total 104
creating a function?
dear friends,
i have one more problem, how to add alpha numeric numbers
like a12
b34
c1l
d57
total 104
creating a function?
Hi Yogesh,
If you have your data in column A, use following function to get the numbers out in column B and then you can easily sum them up.
Regards,Please Login or Register to view this content.
DILIPandey
<click on below 'star' if this helps>
Last edited by dilipandey; 12-21-2011 at 10:42 AM.
DILIPandey, Excel rMVP
+919810929744 (India), +971528225509 (Dubai), [email protected]
Are you sure that works?
Try in B1:
=LOOKUP(9.999999999E+307,--("0"&MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"0 123456789")),ROW($1:$30))))
copied down.
Then sum column B.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Yogesh, I forgot to mention that it is a Array formula and need to be entered using key combination. Ctrl+Alt+Enter
Regards,
DILIPandey
<click on below 'star' if this helps>
thank you nbvc and mr. dilip,
it worked fantastically well counting only numeric value.
You are welcome Yogesh.
cheers
Regards,
DILIPandey
<click on below 'star' if this helps>
Oops... yes you are right.
It was somewhere in my mind and I just tried it with only "a34" and it worked... but yes you are right, it will not work for others...
Regards,
DILIPandey
<click on below 'star' if this helps>
well mr. dilip and Nbvc i am looking for a function to be created in vba would you help me to create a function?
Hi Yogesh,
For VBA function, see the below link which will help you extract the number and then you can easily obtain their sum.
http://www.ozgrid.com/VBA/ExtractNum.htm
Regards,
DILIPandey
<click on below 'star' if this helps>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks