Discussion on:

17
Comments

Join the conversation!

Follow via:
RSS
Email Alert
-4 Votes
+ -
Easy solution
damiross@... Updated - 27th Sep 2011
Select the one of the blank cells
Select each additional blank cell using ctrl-click
enter 0 into one of the highlighted cells and click CTRL ENTER
3 Votes
+ -
Highlight the cells in question and perform a FInd and Replace. Put nothing in the Find box and 0 in the Replace box then click on Replace All. If it's just numbers in the cells, and no spaces, you're all set.
returns the following dialog:

"Microsoft Office Excel, cannot find any data to replace. Check if your search formatting and criteria are defined correctly. If you are sure that matching data exists in this workbook, it may be on a protected sheet. Excel cannot replace data on a protected worksheet."
0 Votes
+ -
You'll need to have some data in the range to do the replace
When I highlighted an area with no data, it returned the "cannot find any data" message
When I placed entered a number into one cell then highlighted a block I got the same message
When I placed data in 2 no adjacent cells and highlighted everything between them it worked.
1 Vote
+ -
3 ways
Tink! Updated - 27th Sep 2011
1) Highlight the cell to be copied and hit CTRL-C, CTRL-Click each cell you want to paste the value into then hit CTRL-V

2) Highlight the cell to be copied and CTRL-C Twice (this automatically opens the Office Clipboard and pastes the value there), then click a cell you want to paste to and click the clipboard. NOT the best way

3) Select the full area of the sheet to be searched and replaced. (Often Shift-CTRL-END works for this.) Hit ALT-E, E to open Find and Replace. Leave Find blank. Put in 0 in Replace. Hit Replace All

Yes, I'm a keyboard navigator so most of my commands are done via keys grin
1 Vote
+ -
my way
zimmerwoman Updated - 28th Sep 2011
copy a zero into the clipboard, select all cells in the range and "right-click, paste-special, add".

I like the find and replace solution from tink. I just tested and it works like a charm. good one.

I might add that there are some functions (don't remember which, they always catch me by surprise) that don't like 0 formatted with a "-". That is what "comma-style" looks like. So, I also format my numerical data with "number-style" which returns "0" for a zero value.
0 Votes
+ -
@vosites-immo.fr
Marina Martin Updated - 29th Sep 2011
Choice the one of the blank cells
Choice each additional blank cell, using ctrl-click
enter zero into each of the highlighted cells, then CTRL ENTER
0 Votes
+ -
There's no need to enter zero into each of the cells. Just enter it into ONE of highlighted cells then press Ctrl Enter
0 Votes
+ -
how-to
zimmerwoman 29th Sep 2011
how are you selecting all of the null or non-numeric cells?
6 Votes
+ -
Goto
Sherinx Updated - 29th Sep 2011
Select the complete range (Ctrl+A)
Press Ctrl + G (Goto)
Press Alt + S (Special)
Press K (for Blanks) and then press enter

Press 0 and then press Ctrl + Enter to populate all blanks with zero's

Do let me know how it goes!
0 Votes
+ -
like it
damiross@... 29th Sep 2011
That's a great way to go if there's a lot of blank cells. So much quicker than individually ctr-clicking each blank cell.
0 Votes
+ -
Nice one
Tink! 5th Oct 2011
Poor Goto is often forgotten I think. I know personally I have used Goto probably twice in my experience with Office. LOL!
0 Votes
+ -
(using 2003)

Ctrl-H to open Replace dialogue
leave Find what: blank
enter whatever you need in Replace with:
open up Options and check Match entire cell contents
Alt-A to invoke Replace All

NB if no range is initally selected, this will update every blank cell in the active area (ie not to IV65536) of the worksheet
Select the non-contiguous cells
select 1st one, control click the others
Type a number
Press Control + Enter
All done!
0 Votes
+ -
Another way
derwil 5th Oct 2011
Select the first cell enter 0, then press enter. Copy the cell. Select other non-contiguous cells using ctrl+left click, then ctrl+v. All the cells then have the same value pasted in them.
because they rely on you scanning for and clicking each relevant cell
Much better selecting by using Go to, Special... or Find and Replace (my favourite for this example as it's easily undone or repeated and won't lose your current position/view or empty the clipboard)
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.