List of strings after wildcard search

Shaan2021

New Member
Joined
Sep 21, 2011
Messages
3
Hello,

I have a spreadsheet that contains various filenames. I want to prepare a list of filenames that have the extension .txt

I can do a wildcard search in findall using *.txt and get all the filenames. However, this search points to cells that contain the .txt files. Along with the filenames, these cells also contain additional data.

Is it possible to strip out the remaining string data and just get a list of *.txt filenames?
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Data is in cells A7 to A12 as below.

a.txt
b.txt is not good
c.txt is very nice
d.txt is off for a walk
e.lbl
f.lbl


Go to Edit-->Find-->Findall and in the search box type *.txt
You will get a list of results with references to entire cells A7 to A10.

However, I am expecting just a list like
a.txt
b.txt
c.txt
d.txt
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,716
Members
452,939
Latest member
WCrawford

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