How to change – (dashes) to 0 (zero) in Excel?
Supposing you have a range of data mixed with dashes, and now you want to change all dashes cells to zeros in Excel, what would you do? You can achieve this with the following methods we provide in this article.
Change – to 0 with Find and Replace in Excel
Change – to 0 with Kutools for Excel in Excel
Change – to 0 with Find and Replace in Excel
In this section, you can change all dashes to zeros in selected range with the Find and Replace command in Excel.
1. Select the range with the dashes cells you want to replace with zeros.
2. Press Ctrl + H keys simultaneously to open the Find and Replace dialog box. In this dialog box, under the Replace tab, enter – and 0 to the Find what and Replaces with boxes separately, Then click the Options button. See screenshot:
3. In the expanded section, check the Match entire cell contents box, and click the Replace All button.
4. Click the OK button in the following popping up dialog box.
5. Close the Find and Replace dialog box.
Now all dashes in cells are replaced with zeros. See screenshots:
Change – to 0 with Kutools for Excel in Excel
With the Select Specific Cells utility of Kutools for Excel, you can quickly select all cells which contain dashes and then change all dashes to zeros with shortcuts.
Before applying Kutools for Excel, please download and install it firstly.
1. Select the range with the dashes cells you want to change to 0. And click Kutools > Select > Select Specific Cells.
2. In the Select Specific Cells dialog box, select the Cell option in the Selection type section, select Equals in the Specific type drop-down list, and enter – to the box. Finally click the OK button. See screenshot:
3. Now all cells with dashes are selected immediately. Then enter the number 0 directly, and press the Ctrl + Enter keys simultaneously.
Then all selected cell contents are changed to 0 at once.
If you want to have a free trial (30-day) of this utility, please click to download it, and then go to apply the operation according above steps.
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!