English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Help in Excel in a cell there are words and numbers but in the next cell i want only the numbers ?

2007-07-19 20:52:22 · 2 answers · asked by shiva 1 in Computers & Internet Software

2 answers

You can write a custom VBA function to do that.

Ready-made functions do not provide such capability. But it should 15 mins to do that in VBA.

Go in a for loop, take each character, check whether it is numeric and add it onto another string which is eventually returned from the function.

2007-07-19 21:00:21 · answer #1 · answered by a_a_abhishek 2 · 0 0

where are the numbers? at the beginning or at last or in the mid?
Use appropriate function to get them

Example: Let
2007YAHOO
in A1

=LEFT(A1,4)

or
YAHOO2007
=RIGHT(A1,4)

2007-07-19 21:00:26 · answer #2 · answered by iyiogrenci 6 · 0 1

fedest.com, questions and answers