Thread
:
Retreive part of the value from each cell - Macro and/or forumula
View Single Post
#
2
Posted to microsoft.public.excel.programming
Ron Rosenfeld
external usenet poster
Posts: 5,651
Retreive part of the value from each cell - Macro and/or forumula
On Tue, 28 Oct 2008 10:13:11 -0700 (PDT),
wrote:
Hi Group,
I have the following values in the cells A5 thru A11106.
I am trying to have a macro or a forumula to have the values after =
and without commas in its corresponding cell in the column B.
[1] =,26,
[2] =,126,
[3] =,5626,
[4] =,276,
[5] =,228896,
....
....
....
Result:
26
126
5626
276
228896
The following values in the cells C5 thru C11106. I am trying to write
macro to have the values after = and without commas in its
corresponding cell in the column D.
b[1] =,26,
nuiio[2] =,126gf,
f[3] =,g5626,
dw[4] =,276,
eef[5] =,228896,
....
.....
Result:
26
126gf
g5626
276
228896
I've already in the process of debugging my formula/code to achieve
this but no luck so far. Thought of writing to the group...
Please let me know how can I achieve this.
Thanks,
Kevin
It can be done with worksheet formulas but that is complex.
One way: download and install Longre's free morefunc.xll add-in from
http://xcell05.free.fr/
You can then use this formula:
=REGEX.MID(A5,"(?<=,)\w+")
(It will work for both of your examples).
--ron
Reply With Quote
Ron Rosenfeld
View Public Profile
Find all posts by Ron Rosenfeld