Inserting dashes into blank cells

thekingoflondon

Board Regular
Joined
Sep 22, 2005
Messages
67
Hi I have a very large spreadsheet, some of the cells in it are completely blank, and I wish to change the blank cells so that they instead have a dash in them. Is there is quick way of achieving this?

:biggrin:
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi

One way:

1.Select the range that you want to apply dashes to (including non-blank cells)
2. Go Edit>Goto>Special Button>Check Blanks checkbox, click OK
3. Type: ="-" and confirm with Ctrl+Enter (ie not just Enter)

Hope this helps!
 
Upvote 0
Hi

In a blank cell enter a dash. Copy that cell. Then hit F5 and click 'Special'.

Choose Blanks from the options and 'Ok'. Paste the dash in the blank cells.

Regards,
Jon
 
Upvote 0
The easiest way would be to select the range of cells, and do a Find/Replace.

Finding " " and replacing with "-"
 
Upvote 0

Forum statistics

Threads
1,213,563
Messages
6,114,332
Members
448,566
Latest member
Nickdozaj

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top