I’m needing an excel formula to output the mineral name from the example list below:
- Andorite IV (Y: 1954) 02.JB.40a [352] [353] [354]
- Beta-fergusonite-(Nd) 04.DG.10 [374] [375] [376]
- Chabazite-Ca (Y: 1792) 09.GD.10 [364] [365] [366]
- Duttonite [358] [359] [360]
- Fleischerite [343] [344] [345]
- Gottardiite [960] [961] [no]
- Hoganite [367] [368] [369]
- Koechlinite [361] [362] [363]
- Liskeardite [996] [997] [998]
- Martinite (2001-059) 09.EE.80 [354] [355] [no]
- Nontronite [1,445] [1,446] [1,447]
- Perite (Y: 1960) 03.DC.30 [360] [361] [362]
- RosieresiteH? (Y: 1841) 08.DF.10 [1,340] [no] [1,341]
- Selwynite [373] [374] [375]
- Tischendorfite [365] [366] [367]
As you can see, each mineral name is proceeded with a 1-3 digit bullet number, a space, the required name & another space. So I am wanting to extract the contents (mineral name) which lies in between the first & second spacing.
I need a formula I can simply plug into a cell in excel & output the mineral name.
Look forward to any replies / advice!! :).
Thanks,
Jason
In your data some of the “spaces” seem to be CHAR(160) (not actual spaces) – I don’t know if that’s really in your data or something that arises through copying from here, either way this formula should work whichever type they are….
=TRIM(MID(SUBSTITUTE(SUBSTITUTE(A1,CHAR(160)," ")," ",REPT(" ",99)),50,100))