split and place specific word only

kayza

Board Regular
Joined
Apr 29, 2015
Messages
61
Office Version
  1. 2007
Platform
  1. Windows
I have a sentence in cell A1 that contains a few words, but I just want to take a specific word and put it in another cell, for example B1 and so on


the sentence in cell A1 is as follows:
Name: one; Class: A; Add: yes; Name: two; Class: B; Add: no; Name: three; Class: A; Add: no


the results I want to display in cells B1 to B3 are as follows
Add: yes
Add: no
Add: no


What is the right formula to solve this problem


Thank you in advance
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Hi,

If what you want extracted is Actually either "Add: yes" or "Add: no" without quotes, use this,
if the text string can be variable after "Add:" (i.e. Add: undetermined, Add: undecided, Add: unknown, etc.), let me know, I'll modify formula to suit:


Book1
AB
1Name: one; Class: A; Add: yes; Name: two; Class: B; Add: no; Name: three; Class: A; Add: noAdd: yes
2Add: no
3Add: no
Sheet360
Cell Formulas
RangeFormula
B1=IFERROR(TRIM(MID(SUBSTITUTE(A$1,";"," "),FIND("|",SUBSTITUTE(A$1,"Add:","|",ROW(B1))),8)),"")


Formula copied down.
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,746
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top