G
Guest
Hello,
I am using VLOOKUP to look up data between two worksheets within a workbook but am having trouble elimanating zeros and #n/a. I have tried an OR function but it doesn't seem to work. If there is a number or a zero the formula below works but I still get #N/A when a reference can not be found. If the OR function is removed and only the ISERROR function is used the #N/A's disappear and the zeros return.
The full formula:
=IF(OR(VLOOKUP(B151,'Sheet2'!$B$6:$H$100,5,FALSE)<1,ISERROR(VLOOKUP(B151,'Sheet2'!$B$6:$H$100,5,FALSE))),"",(VLOOKUP(B151,'Sheet2'!$B$6:$H$100,5,FALSE)))
Thank you for any assistance you may be able to provide!
-Greg
I am using VLOOKUP to look up data between two worksheets within a workbook but am having trouble elimanating zeros and #n/a. I have tried an OR function but it doesn't seem to work. If there is a number or a zero the formula below works but I still get #N/A when a reference can not be found. If the OR function is removed and only the ISERROR function is used the #N/A's disappear and the zeros return.
The full formula:
=IF(OR(VLOOKUP(B151,'Sheet2'!$B$6:$H$100,5,FALSE)<1,ISERROR(VLOOKUP(B151,'Sheet2'!$B$6:$H$100,5,FALSE))),"",(VLOOKUP(B151,'Sheet2'!$B$6:$H$100,5,FALSE)))
Thank you for any assistance you may be able to provide!
-Greg