Go Back

How to Use the NA function

We can use the NA function to generate the #N/A error value. #N/A stands for “Not available”. The NA function is used to identify empty cells or any problem that arises in our calculation. The steps below will walk through its use.

Figure 1: How to Use the NA function





Setting up the Data

  • We will set up the data by inputting the WEIGHT into Column A
  • We will input the cost per kg into Column B
  • Column C is where we want the formula to return the result with the #N/A error if there is an issue with our parameters

Figure 2: Setting up the Data

Using the NA function

  • We will click on Cell C4
  • We will insert the formula below into the cell
  • We will press the enter key

Figure 3: Output for Cell C4

  • We will click on Cell C4 again
  • We will double-click on the fill handle (the small plus sign at the bottom right of Cell C4) and drag down to copy the formula into the other cells

Figure 4: Output of the Formula in Column C



In this formula, the argument A4*B4 will return a number only if Cell A4 has a numeric value. If Cell A4 is empty, the #N/A error is returned as the result.

Instant Connection to an Expert through our Excelchat Service

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

Did this post not answer your question? Get a solution from connecting with the expert.

Another blog reader asked this question today on Excelchat:
Here are some problems that our users have asked and received explanations on

Hi, Im looking for a formulae where i want to count mutliple text in one cloumn. Example in a coloumn I Have Yes, No, NA and i want the count of Yes and NA
Solved by X. D. in 13 mins
how to replace blank values in google spreadsheet pivot with "NA"?
Solved by I. Y. in 23 mins
Vlookup NA is showing and its ruining my sum
Solved by X. C. in 25 mins

Leave a Comment