pull text inside a qoute

ExcelNewbie2020

Active Member
Joined
Dec 3, 2020
Messages
350
Office Version
  1. 365
Platform
  1. Windows
Could an Excel formula be used to extract text from within a quotation mark? thank you in advance..



result​
the "2" quick "brown" fox "jump" over the "4 lazy dog"​
2​
brown​
jump​
4 lazy dog​
"12 brown dog", with lazy "fox"​
12 brown dog​
fox​
"1000 horsemen" gather​
1000 horseman​
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
You can use FIND e.g. =FIND("""",A1,8) The 8 refers to the starting position, so it would increase progressively as examples of the quotation marks are found. Best to use a few helper cells. Does that help?
 
Upvote 0
T
You can use FIND e.g. =FIND("""",A1,8) The 8 refers to the starting position, so it would increase progressively as examples of the quotation marks are found. Best to use a few helper cells. Does that help?

thank you, i am looking that the result would look like these (will show the word or text inside the qoutation mark).
1668068591136.png
 
Upvote 0
Try :

=IFERROR(INDEX(TEXTSPLIT(A1,""""),,SEQUENCE(1,10,2,2)),"")
 
Upvote 0
Solution
To start you off, put the "2" quick "brown" fox "jump" over the "4 lazy dog" in cell A1
B1 =FIND("""",$A$1)+1
C1 =FIND("""",$A$1,B1+1)
D1 =C1-B1
E1 =FIND("""",$A$1,C1+1)+1
F1 =FIND("""",$A$1,E1+1)
G1 =F1-E1
H1 =MID(A1,B1,D1)
I1 =MID($A$1,E1,G1)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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