Garetht2014
New Member
- Joined
- Oct 21, 2014
- Messages
- 23
- Office Version
- 365
- Platform
- Windows
Hi,
I am trying to create a formula for the below where the 'Plan In' column will auto populate with a Yes or No depending on some criteria in other work sheets which are ELF, PROD & absences.
My current formula is this which works without looking at the Absences sheet.
=IF(AND(XLOOKUP([@Name],ELF!A:A,ELF!H:H,"",0) <0.35, (XLOOKUP([@Name],Prod!A:A,Prod!O:O,"",0)>0.8)), "Yes", "No")
I now want to add in information about absences and want to modify the formula above to include this. The end result of the formula is to return a Yes if the the ELF is under 0.35, PROD is above 0.8 and total amount of absences are below 10. If someone doesn't meet all 3 criteria then it just returns a NO in the plan in column.
This is the formula I have tried which it isn't working but don't understand what is wrong:
IF(AND(XLOOKUP([@Name],ELF!A:A,ELF!H:H,"",0) <0.35, (XLOOKUP([@Name],Prod!A:A,Prod!O:O,"",0)>0.8)), (XLOOKUP([@Name],Absences!A:A,Absences!T:T,"",0)>10)), "Yes", "No")
Absence sheet layout:
Appreciate any guidance someone can give.
I am trying to create a formula for the below where the 'Plan In' column will auto populate with a Yes or No depending on some criteria in other work sheets which are ELF, PROD & absences.
My current formula is this which works without looking at the Absences sheet.
=IF(AND(XLOOKUP([@Name],ELF!A:A,ELF!H:H,"",0) <0.35, (XLOOKUP([@Name],Prod!A:A,Prod!O:O,"",0)>0.8)), "Yes", "No")
I now want to add in information about absences and want to modify the formula above to include this. The end result of the formula is to return a Yes if the the ELF is under 0.35, PROD is above 0.8 and total amount of absences are below 10. If someone doesn't meet all 3 criteria then it just returns a NO in the plan in column.
This is the formula I have tried which it isn't working but don't understand what is wrong:
IF(AND(XLOOKUP([@Name],ELF!A:A,ELF!H:H,"",0) <0.35, (XLOOKUP([@Name],Prod!A:A,Prod!O:O,"",0)>0.8)), (XLOOKUP([@Name],Absences!A:A,Absences!T:T,"",0)>10)), "Yes", "No")
Name | Territory | Manager | Plan in | Absences |
Joe Bloggs 1 | Wales | Manager 1 | Yes | |
Joe Bloggs 2 | Wales | Manager 2 | No |
Absence sheet layout:
Engineer Name | AM | GM | Length of Service | January | February | March | April | May | June | July | August | September | October | November | December | January | February | March | Total |
Joe Bloggs 1 | 8 | 20 | 7 | 2 | 6 | 6 | 2 | 51 | |||||||||||
Joe Bloggs 2 | 3 | 9 | 1 | 3 | 2 | 2 | 1 | 6 | 8 | 4 | 4 | 43 |
Appreciate any guidance someone can give.