Forum Discussion

Netrelemo's avatar
Netrelemo
Helper IV
2 years ago
Solved

How to FIND the source of 'DataFormat.Error: Invalid cell value '#NAME?'.'

I have a couple of hundred workbooks I am interrogating with a PowerQuery. There s a problem in the source data, because one of the sheets n one of the workbooks has a '#NAME?' problem in a cell.  I...
  • Ritaf1983's avatar
    2 years ago

    Hi Netrelemo 
    You can apply those steps :

    1. From the view tab check on the option "Column quality"

    2. If you have more than 1000 rows, you can test all of them if you change the default option:

    Just click on the bottom left inscription and choose "column profiling based on all data set"

    3. On hovering the mouse cursor on the place of statistics of quality m select the option of keep errors:

    In this way you will stay with your problematic rows and their details :

    You can also refer to the Microsoft documentation about the issue :
    https://learn.microsoft.com/en-us/power-query/dealing-with-errors

    from the part :

    Handling errors at the cell level

    If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

  • Ritaf1983's avatar
    Ritaf1983
    2 years ago

    Netrelemo 
    They appear on some steps, you just need to go over all the steps that are recorded and wait until the step updates itself (a few seconds).

    If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly