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.
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
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:
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.
|Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days.|
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 this utility is helpful, you can download and try the free trial now!|