+ Reply to Thread
Results 1 to 4 of 4

Fill all empty cells with a dash?

  1. #1
    Registered User
    Join Date
    10-30-2006
    Posts
    30

    Fill all empty cells with a dash?

    I have thousands of cells in a grid and in no particular order. They're all filled with numbers. About a third of the cells have no data, they are empty as opposed to having spaces.

    Is there a way to automatically fill empty cells with a single "-" without using macros?

    Thanks,
    Layne

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Fill all empty cells with a dash?

    Select the area, Ctrl+G, Special, tick Blanks

    Type a hyphen in the formula bar, press and hold the Ctrl key, press Enter.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Fill all empty cells with a dash?

    Select the whole sheet, or your selected range.

    Replace > Find what:= leave this field empty

    Replace with:= -

    Press Replace all

    This will fill all empty cells in the used range with - (minus)

    Check it out this will not replace " " ie a space, and if a macro has left traces then the used range might be larger than you think.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Registered User
    Join Date
    10-30-2006
    Posts
    30

    Re: Fill all empty cells with a dash?

    12,744 dashes added, thanks everybody!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1