Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have about 80 text files (.txt) that contain results of PC vulnerability
scans. Each file represents a different machine, and each file contains multiple "Passed" and/or "Failed" results depending on what vulnerabilities are present. All files are in a common networked folder - separate from the Excel spreadsheet. I wish to query each file for any instances of "=Failed" and output the preceeding 12 alphanumeric characters into a cell. "=Passed" can be ignored. For instance, if "testcase1.txt" contains the following data: 2005_292_004=Failed 2005_292_005=Failed 2005_315_001=Passed Then the reference cell should return "2005_292_004, 2005_292_005"; if all were "Passed" then the cell can read "none". So if multiple files were queried, the xls may look like below (the '|' indicates separate columns: testcase1.txt | 2005_292_004, 2005_292_005 testcase2.txt | None testcase3.txt | 2005_292_004 testcase4.txt | 2005_315_005 testcase5.txt | None Thank you for any help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Import text files into EXCEL | Excel Discussion (Misc queries) | |||
import a many text files to excel programmatically | Excel Discussion (Misc queries) | |||
Import External Text Data and Refreshing Problem | Excel Worksheet Functions | |||
Search text of external files and import | Excel Programming | |||
How can you import external text file paragraph a into single cell | Excel Discussion (Misc queries) |