Bonjour!
I am struggling with this formula but only for 1 Number. Please see formula below:
Formula: =HLOOKUP(A52, INDIRECT("'"&INDEX(Payroll_Number, MATCH(1, --(COUNTIF(INDIRECT("'"& Payroll_Number&"'!$b$3:$b$5"), A52)>0), 0)) &"'!$b$3:$b$5"), 3, FALSE)
Notes: A52 is the Col A with Payroll Number in. This is also B3 in the corresponding tab. B5 is the data for Col C which is B5 on the relevant tab.
I have indexed Col A and named it Payroll_Number in the Name Range section and renamed each tab to the employee's Payroll Number. Using this formula is picks up exactly what I need for every member of staff, except for Payroll "250". However if I change the Payroll Number to something else, i.e 999, it picks up the information like the rest. Its as if it will accept any number other than 250. I have even tried creating a new tab and moving the data to that tab and still get the same issue.
Summary Sheet with formula:
Employee Tab with data:
I am struggling with this formula but only for 1 Number. Please see formula below:
Formula: =HLOOKUP(A52, INDIRECT("'"&INDEX(Payroll_Number, MATCH(1, --(COUNTIF(INDIRECT("'"& Payroll_Number&"'!$b$3:$b$5"), A52)>0), 0)) &"'!$b$3:$b$5"), 3, FALSE)
Notes: A52 is the Col A with Payroll Number in. This is also B3 in the corresponding tab. B5 is the data for Col C which is B5 on the relevant tab.
I have indexed Col A and named it Payroll_Number in the Name Range section and renamed each tab to the employee's Payroll Number. Using this formula is picks up exactly what I need for every member of staff, except for Payroll "250". However if I change the Payroll Number to something else, i.e 999, it picks up the information like the rest. Its as if it will accept any number other than 250. I have even tried creating a new tab and moving the data to that tab and still get the same issue.
Summary Sheet with formula:
Payroll Number | Name | BPT | STATUS |
210 | Mr Smith | 0 | No Bradford Points |
250 | Mrs Smith | #N/A | #N/A |
999 | Mrs Smith | 4 | Low Points |
Employee Tab with data:
Payroll No: | 250 |
Name: | Mrs Smith |
BP Score: | 4 |
Status: | Low Points |
Holiday Hours Left: | 7.5 |