Hi All,
I have a excel sheets which pulls in data however i need to select part of the info in one column.
For example if it says Apple - Pear - i need to only take out Pear into a separate column.
Is this possible?
Hi All,
I have a excel sheets which pulls in data however i need to select part of the info in one column.
For example if it says Apple - Pear - i need to only take out Pear into a separate column.
Is this possible?
Welcome to the forum.
One example is NEVER enough, but based on it alone:
=TRIM(MID(A1,FIND("-",A1)+1,99))
If you want to split the column, rather than pulling data out, then use Text to Columns with "-" as the delimiter,
Last edited by AliGW; 05-03-2022 at 05:53 AM.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Ah that worked perectly thank you.
Sorry i know the exmaple wasnt great.
If i was to say select the first part so Apples this time.. would i just need to tweak the same formula.
Eg Apple - Pear
to
Apple
Please see the yellow banner at top of the page on how to attach a (representative) sample workbook (with expected results)
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Like this:
=TRIM(LEFT(A1,FIND("-",A1)-1))
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.
Thanks for the rep.
Please mark the thread as solved, as requested. Thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks