Strikethrough means drawing a line in a cell, so strikethrough text means a line going between the texts in an excel cell, to this we can use the format option of any cell by right-clicking on it and enable the option or checkbox for strikethrough which will draw a line to the text, there is also a keyboard shortcut to do it which is CTRL+5.
Strikethrough Text Excel (Table of Contents)
- By Using the Shortcut Key
- By Using the Format Options
- By adding Strikethrough button to QAT
- By Adding the Strikethrough Button to the Ribbon
- By Using Conditional Formatting
- Using VBA
Excel Strikethrough Text
Strikethrough is to draw a line through a value or text in Excel. The Purpose of Strikethrough values in excel is
- To show edits
- To denote completed tasks
How to Strikethrough Text in Excel?
Below are the following ways to Strikethrough text in excel.
Method #1 – By Using the Shortcut Excel Key to Strikethrough
Now suppose, we have a project. The steps for the project are given in the below image.
As we will complete each step, we want to Strikethrough the step, for this, the steps are so simple.
- Select the cells, one or more using the Shift key with Up, Down, Left and Right arrow key and press Ctrl+5.
- In our example, we don’t have a requirement to highlight only some part of the value in the cell, otherwise, first, we need to go into edit mode for the particular cell by double-clicking on the cell or using the F2 key and then select the text and then pressing Ctrl+5.
Press F2 to enter into edit mode or double click on the cell.
Press Ctrl+5 to strikethrough the text.
Press Enter to get out of the edit mode.
Method #2 – By Using the Format Options
- Suppose, we have the following data for steps. We want to Strikethrough the value as we complete each step.
- Select one or more cells on which we want to apply the Strikethrough.
- Press the shortcut key Ctrl + 1 or we can right-click the selected cell(s) and choose ‘Format Cells’ from the pop-up menu.
- In the ‘Format Cells’ dialog box, we need to go to the Font tab and tick off the Strikethrough option under Effects then, click on ‘OK’ to save the change and close the dialog box.
Now you can see the result as shown in the below image.
Method #3 – By adding Strikethrough button to Quick Access Toolbar
Quick Access toolbar is found at the top left corner of MS Excel Window. We can place various frequently used commands on the Quick Access Toolbar as this helps us to save time. We can use shortcut as well to access the commands on the Quick Access Toolbar.
With the combination of Alt key and number key, we can make the strikethrough excel shortcut key.
To add the Strikethrough button to the Quick Access toolbar is one time set up, and then we can use the button from QAT (Quick Access Toolbar) whenever required.
To add the button to the QAT, steps are:
- right-click anywhere on the ribbon and choose ‘Customize Quick Access Toolbar’ from the pop-up menu.
- The ‘Excel Options’ dialog box appears. Now choose ‘Commands Not in the Ribbon’ for ‘Choose commands from’.
- From the list, choose ‘Strikethrough’ and click on ‘Add’ button to add the command button to the Quick Access Toolbar.
- The up and down arrow buttons on the right side can be used to change the position of the Strikethrough button. We have changed the position of the ‘Strikethrough’ button to 4th on the QAT. Click on OK.
We can find out the ‘Strikethrough’ command at 4th place on the QAT. As the command is at 4th position, we can also use Alt+4 as a shortcut excel key to apply Strikethrough format to the selected text.
Suppose, we need to Strikethrough the Text as we learn the tabs of MS Excel Window.
As any tab is learned by the user, the user can Strikethrough the Text using the excel shortcut key (Alt+4) or the button placed on QAT.
- To select one or more cells (adjacent cells with the Shift key and non-adjacent cells using Ctrl key).
- Press Alt+ 4 or press Strikethrough button from the QAT.
Method #4 – By Adding the Strikethrough Button to the Ribbon
Strikethrough command is not available on the MS Excel ribbon by default. We can find out the same only in the “Format Cells” dialog box. However, we can add the same command on the ribbon too. To do the same, the steps are:
- Right-click anywhere on the ribbon and choose “Customize the Ribbon“ from the pop-up menu.
- Choose “Commands not in the Ribbon” for “Choose commands from” and select “Strikethrough” from the list”
- Before adding Strikethrough command on the ribbon, first create the group using the “New Group” To create the new group, steps are:
- Select the tab under which you want to create the group. (In our case, the tab is “Home” tab.)
- Click on “New Group”.
- Rename the group using “Rename”.
- Now add the “Strikethrough” command in New group (My Format).
We can change the position of the group using the up and down arrow button on the right side of the dialog box then click ‘OK’.
Now we can see a new group “My Format” under the Home tab.
Suppose, we need to format some of the Text with Strikethrough.
To Strikethrough the values, steps are:
- Select the cells which we need to format then, choose ‘Strikethrough’ command from the ‘My Format’ group under the Home tab.
Method #5 – By Using Conditional Formatting to Strikethrough Automatically
We can Strikethrough the Text in excel using conditional formatting also.
Suppose we have a task list, which we need to accomplish. We can update status for the task as “Done”, the task value will be formatted with Strikethrough, and font color will be changed to blue automatically.
To do the same, the steps are:
- Select the cells to format.
- Go to the Home tab, from the “Styles” group choose “Conditional Formatting” from that choose “New Rule” from the drop-down list.
- Choose “Use a formula to determine which cells to format”.
- For “Format values where this formula is true”, Specify =$B3=”Done” and set the format as below.
- Click on OK for both the dialog boxes “Format Cells” and “New Formatting Rules”.
Now, whenever we update the status for a task as “Done”. The value is formatted.
Method #6 – By Adding a Button for Strikethrough Using VBA
We can also create a command button for the same using VBA.
- Choose “Command button” from the “Insert” command available in the “Controls” group under “Developer” tab.
- Create the command button and change the properties.
- Click on “View Code” from the “Controls” group after closing the properties dialog box. (Make sure the button is selected and “Design Mode” is activated.)
- Choose “Strikethrough” from the list and paste the following code.
- Save the file with .xlsm
Now suppose we want to Strikethrough two cells (A1 and A2). We can do the same by selecting the cells and pressing the command button (Make sure the “Design Mode” is deactivated).
Select the cells and click on the button.
This has been a guide to Strikethrough Text in Excel. Here we discuss how to Strikethrough Text in Excel using 6 different ways along with shortcuts, examples and downloadable excel template. You may learn more about excel from the following articles –