Making #N/A invisible

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Guest
I have been trying to get rid of some unsightly #N/A s on an Excel Spreadsheet until input is received. I had contemplated changing them to Zeros but I seem to be unable to get an IF statement to acknowledge them. I wonder is there an easy/smart way. Any help appreciated :smile:
Cheers
Sam
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Hi

Not too sure if you just want to not see the #N/A or prevent it. If the former use Conditional formatting (under Format) and set the "Formula is" to: =ISNA($D$7) and then change the Font color and background color to the same.

If you are wanting prevent it here are a few options using the VLOOKUP:

=IF(COUNTIF(A1:A500,"MyData")=0,"",VLOOKUP("MyData",A1:C500,2,FALSE))

=IF(ISNA(VLOOKUP("MyData",A1:C500,2,FALSE)),"",VLOOKUP("MyData",A1:C500,2,FALSE))

The first method is the preferred one.
 
Upvote 0

Forum statistics

Threads
1,223,355
Messages
6,171,608
Members
452,411
Latest member
sprichwort

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top