Sadath31's excellent approach can be expanded seeing that you say that each worksheet is not the same layout.
I added numbers beside each worksheet name to be used in a VLOOKUP. This assumes that the worksheets listed are in the actual order of the worksheets or the numbering would have to correspond to the position of the worksheet in the workbook.
I amended Sadath31's ARRAY formula to the following which will identify the first worksheet that the number is found in:
I also amended the worksheet names with cell ranges to include all the columns of a worksheet. This is overkill and if you know the limits of the data then the ranges can be modified.
Eg. Sheet2!a:xfd
Results:
|
A |
B |
C |
D |
E |
F |
G |
H |
I |
1 |
Tel No |
|
|
|
|
|
|
|
Sheets Names |
2 |
52156 |
Sheet2!a:xfd |
|
|
|
|
|
1 |
Sheet2!a:xfd |
3 |
51353 |
SHeet3!a:xfd |
|
|
|
|
|
2 |
SHeet3!a:xfd |
4 |
64652 |
Not Found |
|
|
|
|
|
3 |
SHeet4!a:xfd |
5 |
6546 |
Sheet2!a:xfd |
|
|
|
|
|
|
|
Bookmarks