Attempting to search across worksheets for matches on 3 criteria and return salary.
Worksheet names are in cell A1 in each worksheet
Department account numbers are in cell A2 in each worksheet
Employee names are in column A
Titles are in column B
Salary is in column E
Department account numbers are in column F
K7 has the following formula:
=IFERROR(INDEX(E:E,SMALL(IF(ISNUMBER(SEARCH($K$5,F:F))*ISNUMBER(SEARCH(K4,B:B)),ROW(A:A)-MIN(ROW(A:A))+1),ROWS($K$7:K7))),"")
This returns matches for Title and Department account number on this sheet only.
Can an additional match criteria for Employee name in Column A be added that would also search across all sheets?
Worksheet names are in cell A1 in each worksheet
Department account numbers are in cell A2 in each worksheet
Employee names are in column A
Titles are in column B
Salary is in column E
Department account numbers are in column F
K7 has the following formula:
=IFERROR(INDEX(E:E,SMALL(IF(ISNUMBER(SEARCH($K$5,F:F))*ISNUMBER(SEARCH(K4,B:B)),ROW(A:A)-MIN(ROW(A:A))+1),ROWS($K$7:K7))),"")
This returns matches for Title and Department account number on this sheet only.
Can an additional match criteria for Employee name in Column A be added that would also search across all sheets?
TEST.xlsm | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | Department1 | |||||||
2 | 21-1400 | |||||||
3 | ||||||||
4 | ||||||||
5 | Grade | Months | 2020-21 | |||||
6 | Salaries: | |||||||
7 | Employee1 | Title1 | 12 | 49,854 | 21-1400-5-135 | |||
8 | Employee2 | Title2 | 12 | 24,874 | 21-1400-5-135 | |||
9 | - | 21-1400-5-135 | ||||||
10 | - | 21-1400-5-135 | ||||||
11 | - | 21-1400-5-135 | ||||||
12 | Total Full Time | 74,728 | ||||||
Department1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
E12 | E12 | =E7+E8+E9+E10+E11 |