Hi,
Can someone please tell me why this formula is not working?
=IF(ISERROR(VLOOKUP($A2,'Hours and Headcount'!$A1:$T9999,20,$T1:$T9999),0,(VLOOKUP($A2,'Hours and Headcount'!$A1:$T9999,20,$T1:$T9999))))
=IF(ISERROR(VLOOKUP($A2,'Hours and Headcount'!$A1:$T9999,20,0),0,(VLOOKUP($A2,'Hours and Headcount'!$A1:$T9999,20,0))))
Hi,
Try
Code:=IF(ISERROR(VLOOKUP($A2,'Hours and Headcount'!$A1:$T9999,20,0),0,(VLOOKUP($A2,'Hours and Headcount'!$A1:$T9999,20,0))))
= IFERROR(VLOOKUP($A2,'Hours and Headcount'!$T1:$T9999,1;TRUE),0)
Can you tell us why you have a fourth argument of $T1:$T9999 inside your VLOOKUPs?
No, it still doesnt like it - it is saying that the ,0, in the middle is causing the error???
=IF(ISERROR(VLOOKUP($A$2,'Hours and Headcount'!$A1:$T9999,20,0)),0,VLOOKUP($A$2,'Hours and Headcount'!$A1:$T9999,20,0))
This should work...
Code:=IF(ISERROR(VLOOKUP($A$2,'Hours and Headcount'!$A1:$T9999,20,0)),0,VLOOKUP($A$2,'Hours and Headcount'!$A1:$T9999,20,0))