+ Reply to Thread
Results 1 to 6 of 6

Fill empty cells in a range with 0

  1. #1
    Registered User
    Join Date
    10-10-2003
    Location
    Massachusetts
    MS-Off Ver
    Office 365
    Posts
    88

    Fill empty cells in a range with 0

    Is there an easy way to fill empty cells in a range with 0, other than cycling through the range one cell at a time.

    Thanks.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Fill empty cells in a range with 0

    Select all the range
    Press Ctrl+G (Go to)
    In the dialog window use button Special and select option Empty cells, then press OK
    in formula bar write 0 and commit with Ctrl+Enter (not just Enter)
    Best Regards,

    Kaper

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Fill empty cells in a range with 0

    Do a Find & Replace, finding the null string and replacing with 0, checking "entire cell contents."

    2021-12-10.jpg
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Fill empty cells in a range with 0

    Quote Originally Posted by Kaper View Post
    select option Empty cells
    I do not have this option

    2021-12-10 (1).jpg

    If I select "Blanks" it will not select all the blanks in the range, only up until the first non-blank cell.

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: Fill empty cells in a range with 0

    If you pre-select the whole column, then you can use Blanks (after Current Region).

    Hope this helps.

    Pete

  6. #6
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Fill empty cells in a range with 0

    Indeed in English version the empty cells are called "Blanks"
    In my national version they are called "Puste" which would best translate to "Empty"
    According to https://translate.google.com/?sl=pl&...e&op=translate blank is the second option, hollow (not too good for cells anyway) third, and vacant (much better) fourth

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. copy current cells and fill the empty cells below it consecutively
    By jitterbug888 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-09-2016, 10:34 PM
  2. [SOLVED] How to create a dynamic range if the last cell is empty and the columns have empty cells
    By peter_swe in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-03-2016, 11:18 PM
  3. Replies: 0
    Last Post: 08-03-2016, 07:01 PM
  4. Fill empty cells..
    By Ootso in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-14-2015, 04:30 AM
  5. [SOLVED] Colour fill of empty cells in a dynamic range
    By Coems in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-19-2014, 06:27 PM
  6. [SOLVED] Fill Empty Cells
    By srikanthk in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-30-2012, 08:13 AM
  7. [SOLVED] Fill empty cells
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-23-2006, 11:50 AM

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