Excel question about converting data

Jennifer Tucker 0 Reputation points
2025-07-02T19:13:27.26+00:00

I am working on a spreadsheet of data exported from a database. There is an inconsistency with the output that seems to be related to Excel. In the example below, most of the #NAME? - the data is =+DRUSEN. I thought it might be because the field did not contain a comma, but other fields do include a comma and are showing the #NAME? Can someone please help.

User's image

Microsoft 365 and Office | Excel | For business | Windows
{count} votes

2 answers

Sort by: Most helpful
  1. Flora-T 960 Reputation points Microsoft External Staff Moderator
    2025-07-03T06:37:09.04+00:00

    Hi Jennifer Tucker

    Thank you for reaching out, and I understand how confusing it can be to encounter unexpected errors like this in your spreadsheet.

    According to my research, the #NAME? error in Excel typically appears when Excel attempts to evaluate a formula that contains an unrecognized function, named range, or syntax.

    Excel is interpreting values like =+DRUSEN or =+DRUSEN,+SRH as formulas. Since DRUSEN and SRH aren’t recognized functions or names, Excel returns a #NAME? error.

    After testing, here are a few practical steps that may help resolve the issue:

    • Format cells as Text: Before entering or pasting the data, select the desired range > right-click > Format Cells > select Text. This ensures Excel treats any entries, especially those starting with symbols like (=) as plain text rather than formulas.
    • Use an apostrophe to force text: Add a single quote (') before the entry (e.g., '+DRUSEN). This tells Excel to treat the value as plain text rather than a formula. The apostrophe will not be visible once entered; Excel will display it simply as +DRUSEN

    Remove leading formula symbols like (=) or (=+) to avoid formula syntax, leaving the raw values intact.

    If the issue persists, you should provide:

    • A specific example of a cell that is showing the #NAME? error
    • A nearby cell with a similar format that isn't causing the error

    While I don’t have direct access to your device, this detail will help us identify whether the issue is related to formatting, hidden characters, or how Excel is interpreting specific cell entries. 

    I'm looking forward to seeing your response soon.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Olaf Helper 47,516 Reputation points
    2025-07-03T08:46:55.4233333+00:00

    Other option: Add an apostrophe in front of the text. Excel recognize it as text marker and don't show it up.

    '
    
    0 comments No comments

Your answer

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