I am using Read Range Workbook Activity to read a two column table in an Excel Spreadsheet to a DataTable and then print it out in a Sheet in another Workbook. I noticed that cells with the value “#N/A” are not being printed. They are empty, no values in them. The “#N/A” values are to be looked up and brought into another table. So I need the “#N/A” values.
This is the view of the Excel that has the “#N/A” values
This is what I get after I read via Read Range and print it out
Usually #N/A is treated as error value so it will become empty when copied to another sheet using read range. For this, you need to enable Preserve Format in read range.
#N/A is not a value. It’s an error in Excel. It could just mean that you don’t have the column wide enough to see the value, or the formula is wrong, or does not return a value. You can use an If in the formula to return a standard value (like “Not found”) if no value is returned.