ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Filling empty cells with a value (https://www.excelbanter.com/excel-discussion-misc-queries/89079-filling-empty-cells-value.html)

Ian Richardson ACITP

Filling empty cells with a value
 
Hi

Is there a way of finding empty or blank cells and filling them with XXX or
some text so I can find and replace XXX with YYY?

Thanks
Ian

Bob Phillips

Filling empty cells with a value
 
You could try

EditGotoSpecialBlanks

Then type XXX and hit Ctrl-Enter not just Enter.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"Ian Richardson ACITP" wrote
in message ...
Hi

Is there a way of finding empty or blank cells and filling them with XXX

or
some text so I can find and replace XXX with YYY?

Thanks
Ian




Ron Coderre

Filling empty cells with a value
 
Try something like this:

Select the range you want impacted

<edit<replace
Find what: (leave this blank)
Replace with: XXX
Click the [Replace All] button

That should put "XXX" in each blank cell in the highlighted region.

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Ian Richardson ACITP" wrote:

Hi

Is there a way of finding empty or blank cells and filling them with XXX or
some text so I can find and replace XXX with YYY?

Thanks
Ian


Pete_UK

Filling empty cells with a value
 
You can apply an autofilter and select Blanks from the pull-down menu.
In the first blank cell enter XXX then copy this down while the filter
is still active.

If you have blanks in many different columns, then select the topmost
cell within the data area and Edit | GoTo and select Special followed
by Current Region. Then Edit | GoTo | Special again and this time
select Blanks. You can then type XXX and use CTRL-Enter to copy it into
each blank cell.

Hope this helps.

Pete


Ian Richardson ACITP

Filling empty cells with a value
 
Thanks for the quick replies.

The find and replace does what I want. Easy if you think about it!

Ian

"Pete_UK" wrote:

You can apply an autofilter and select Blanks from the pull-down menu.
In the first blank cell enter XXX then copy this down while the filter
is still active.

If you have blanks in many different columns, then select the topmost
cell within the data area and Edit | GoTo and select Special followed
by Current Region. Then Edit | GoTo | Special again and this time
select Blanks. You can then type XXX and use CTRL-Enter to copy it into
each blank cell.

Hope this helps.

Pete




All times are GMT +1. The time now is 09:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com