Share via

Return to blank #N/A in Excel vlookup

Orlando S. Jimenez 20 Reputation points
2026-04-08T06:23:53.5566667+00:00

How do I return #N/A to Blank in VLOOKUP in Excel below formula i used

=(VLOOKUP(@$E$7:$E$105,'2025 Material'!$A$2:$E$21,5,FALSE)/VLOOKUP(@$E$7:$E$105,'2025 Material'!$A$2:$E$21,4,FALSE))*H7

Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments

Answer accepted by question author
  1. Q&A Assist
    2026-04-08T06:24:06.3966667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Wrap the formula in IFNA (or IFERROR) so that #N/A is replaced with a blank string:

    =IFNA(
        (VLOOKUP(@$E$7:$E$105,'2025 Material'!$A$2:$E$21,5,FALSE)
        /VLOOKUP(@$E$7:$E$105,'2025 Material'!$A$2:$E$21,4,FALSE))
        *H7,
        ""
    )
    

    Explanation:

    • IFNA(value, value_if_na) returns value_if_na only when the result is #N/A.
    • Here value is the whole VLOOKUP expression, and value_if_na is "" (blank).
    • For any non-#N/A result, the calculated value is returned as normal.

    If using IFERROR instead of IFNA and want to catch all error types, use:

    =IFERROR(
        (VLOOKUP(@$E$7:$E$105,'2025 Material'!$A$2:$E$21,5,FALSE)
        /VLOOKUP(@$E$7:$E$105,'2025 Material'!$A$2:$E$21,4,FALSE))
        *H7,
        ""
    )
    

    References:

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.