wadergirl
New Member
- Joined
- Jun 3, 2016
- Messages
- 49
So, I'm not even sure if this is possible.
I would like a formula (or maybe could do a macro if needed), but what I'm trying to do is basically this:
In cell B1:
1. Take a value from cell A1 in Workbook A.
2. Search for that value on ANY tab in ANY workbook in file path "P:\shared\2019" which has multiple subfolders (i.e. 02 2019, 03 2019, 04 2019, etc) - workbooks are mostly named by date (i.e. 01.01.19.xlsx) so theres no more than approx. 31 files per folder, but obviously it varies
3. Return the file name of the FIRST file the value is found on
In cell C1: same as above, but return the tab name of that file (3 possible tabs on each file)
In cell D1 & E1: same as above, but with the SECOND file the value is found on
In cell F1 & G1: same as above, but with the THIRD file the value is found on
There would be no more than 3 files it would be on and would repeat for all values in column A.
If this can be done with a formula, I could probably narrow down which subfolder in the file path to search in and just change it for each row as applicable, since I know the approximate frame each value should appear in.
I would like a formula (or maybe could do a macro if needed), but what I'm trying to do is basically this:
In cell B1:
1. Take a value from cell A1 in Workbook A.
2. Search for that value on ANY tab in ANY workbook in file path "P:\shared\2019" which has multiple subfolders (i.e. 02 2019, 03 2019, 04 2019, etc) - workbooks are mostly named by date (i.e. 01.01.19.xlsx) so theres no more than approx. 31 files per folder, but obviously it varies
3. Return the file name of the FIRST file the value is found on
In cell C1: same as above, but return the tab name of that file (3 possible tabs on each file)
In cell D1 & E1: same as above, but with the SECOND file the value is found on
In cell F1 & G1: same as above, but with the THIRD file the value is found on
There would be no more than 3 files it would be on and would repeat for all values in column A.
If this can be done with a formula, I could probably narrow down which subfolder in the file path to search in and just change it for each row as applicable, since I know the approximate frame each value should appear in.