Hi
I have cells that contain data within brackets [ ]. Is there a way to extract into another cell only the data within the brackets?
I attach the sample file.
thanks
LL
Hi
I have cells that contain data within brackets [ ]. Is there a way to extract into another cell only the data within the brackets?
I attach the sample file.
thanks
LL
Try this:
=MID(A2,FIND("[",A2),LEN(A2)-FIND("[",A2))
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Hi, may I remove even the [] and left with just the alphabets?
Change to:
=SUBSTITUTE(SUBSTITUTE(MID(A1,FIND("[",A1),LEN(A1)-FIND("[",A1)),"[",""),"]","")
=mid(a2,find("[",a2)+1,find("]",a2)-find("[",a2)-1)
Last edited by martindwilson; 03-16-2014 at 11:39 PM.
"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
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks