Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Fill Blank Cells With Text Value

I have a large spreadsheet that I would like to fill all blank or rather
empty cells with a text value of "BLANK" Can this be done with an If
statement or Macro? If so, what would it be?

Jason
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Fill Blank Cells With Text Value

Record a macro
Select the range to fix (include the non-blank cells, too)
edit|goto special|blanks
type BLANK
hit ctrl-enter to fill all the selected cells (just the empty cells in the
original range)
Stop recording the macro.

Personally, I'd do something like this manually until it was part of a larger
mechanized routine.



Jason Hall wrote:

I have a large spreadsheet that I would like to fill all blank or rather
empty cells with a text value of "BLANK" Can this be done with an If
statement or Macro? If so, what would it be?

Jason


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,202
Default Fill Blank Cells With Text Value

I have a large spreadsheet that I would like to fill all blank or rather
empty cells with a text value of "BLANK" Can this be done with an If
statement or Macro? If so, what would it be?


You could do it manually this way. Go to the cell that is in the last row
and last column of the range you want to do this over and enter BLANK in
that cell. Now select Edit/Replace from Excel's menu bar (or just key in
Ctrl+H), leave the "Find what" field empty, put BLANK in the "Replace with"
field and, finally, click the Replace All button.

Rick

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Fill Blank Cells With Text Value

Dave, you will have to dumb this down for me a little bit. I am not use to
macros and I am running Excel 2007

"Dave Peterson" wrote:

Record a macro
Select the range to fix (include the non-blank cells, too)
edit|goto special|blanks
type BLANK
hit ctrl-enter to fill all the selected cells (just the empty cells in the
original range)
Stop recording the macro.

Personally, I'd do something like this manually until it was part of a larger
mechanized routine.



Jason Hall wrote:

I have a large spreadsheet that I would like to fill all blank or rather
empty cells with a text value of "BLANK" Can this be done with an If
statement or Macro? If so, what would it be?

Jason


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Fill Blank Cells With Text Value

I don't use xl2007 enough to know where those menu items are hidden.

Instead of using edit|goto, use F5 (or ctrl-g).

But the rest should be the same.

Jason Hall wrote:

Dave, you will have to dumb this down for me a little bit. I am not use to
macros and I am running Excel 2007

"Dave Peterson" wrote:

Record a macro
Select the range to fix (include the non-blank cells, too)
edit|goto special|blanks
type BLANK
hit ctrl-enter to fill all the selected cells (just the empty cells in the
original range)
Stop recording the macro.

Personally, I'd do something like this manually until it was part of a larger
mechanized routine.



Jason Hall wrote:

I have a large spreadsheet that I would like to fill all blank or rather
empty cells with a text value of "BLANK" Can this be done with an If
statement or Macro? If so, what would it be?

Jason


--

Dave Peterson


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Fill Blank Cells With Text Value

Don't criticize me for this extremely simple solution but everyone should
know this but I'll gonna tell ya just for thrill of it ... select a blank
cell, type blank in it, now choose format wizard e.g. the magic paint brush
icon and click a cell and drag til your hearts content and click on the magic
paint brush icon and there you go, all the cells you have selected should
have the word 'blank' filled in. It's the simplist way of doing it, you don't
need any defty IT skills and even your good-old grandma can do it.

Cheers,


--
Attellati


"Dave Peterson" wrote:

I don't use xl2007 enough to know where those menu items are hidden.

Instead of using edit|goto, use F5 (or ctrl-g).

But the rest should be the same.

Jason Hall wrote:

Dave, you will have to dumb this down for me a little bit. I am not use to
macros and I am running Excel 2007

"Dave Peterson" wrote:

Record a macro
Select the range to fix (include the non-blank cells, too)
edit|goto special|blanks
type BLANK
hit ctrl-enter to fill all the selected cells (just the empty cells in the
original range)
Stop recording the macro.

Personally, I'd do something like this manually until it was part of a larger
mechanized routine.



Jason Hall wrote:

I have a large spreadsheet that I would like to fill all blank or rather
empty cells with a text value of "BLANK" Can this be done with an If
statement or Macro? If so, what would it be?

Jason

--

Dave Peterson


--

Dave Peterson

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Fill Blank Cells With Text Value

Using the format painter icon copied that "Blank" value to other cells for
you????

Attellati wrote:

Don't criticize me for this extremely simple solution but everyone should
know this but I'll gonna tell ya just for thrill of it ... select a blank
cell, type blank in it, now choose format wizard e.g. the magic paint brush
icon and click a cell and drag til your hearts content and click on the magic
paint brush icon and there you go, all the cells you have selected should
have the word 'blank' filled in. It's the simplist way of doing it, you don't
need any defty IT skills and even your good-old grandma can do it.

Cheers,

--
Attellati

"Dave Peterson" wrote:

I don't use xl2007 enough to know where those menu items are hidden.

Instead of using edit|goto, use F5 (or ctrl-g).

But the rest should be the same.

Jason Hall wrote:

Dave, you will have to dumb this down for me a little bit. I am not use to
macros and I am running Excel 2007

"Dave Peterson" wrote:

Record a macro
Select the range to fix (include the non-blank cells, too)
edit|goto special|blanks
type BLANK
hit ctrl-enter to fill all the selected cells (just the empty cells in the
original range)
Stop recording the macro.

Personally, I'd do something like this manually until it was part of a larger
mechanized routine.



Jason Hall wrote:

I have a large spreadsheet that I would like to fill all blank or rather
empty cells with a text value of "BLANK" Can this be done with an If
statement or Macro? If so, what would it be?

Jason

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
NEED TO FILL BLANK CELLS IN DATA WITH TEXT STRING Stewcrew Excel Worksheet Functions 8 January 16th 11 05:48 AM
NEED TO FILL BLANK CELLS WITH TEXT STRING Stewcrew Excel Discussion (Misc queries) 1 May 17th 07 01:10 AM
Fill in blank cells Ian Excel Discussion (Misc queries) 3 December 15th 06 08:06 AM
Use Autofill in a macro to fill blank cells until next text - goldyjk Excel Programming 1 June 14th 05 06:40 PM
Use Autofill in a macro to fill blank cells until next text - Bernie Deitrick Excel Programming 0 February 18th 05 06:45 PM


All times are GMT +1. The time now is 07:33 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"