Excel - Excel Tutorial: 3 Ways to Add a Hyphen After a Period | MrExcel Netcast - Episode 536
444 views · Published 4 August 2009 · 3:03 · Indexed 20 September 2026
Channel: MrExcel.com · 2009 · Education
Microsoft Excel Tutorial: 3 Ways to Add a Hyphen After a Period. Welcome back to the MrExcel netcast, where we answer your Excel questions and provide helpful tips and tricks to make your spreadsheet experience even better. I'm Bill Jelen, and today we have a great question from Robbie about adding a hyphen after a period in a cell without using text to columns. Let's dive in and find the best solution for this problem. Robbie's question is a common one, and there are actually three different ways to achieve this result. The first and most straightforward method is to use the find and replace function. Simply select the cells you want to edit, go to the edit menu, and choose replace. Then, enter a period in the "find what" field and a period hyphen in the "replace with" field. Click "replace all" and voila, the problem is solved. However, if you're looking for a formula solution, there are two options. The first is to use the substitute function, which allows you to specify the text you want to replace and what you want to replace it with. In this case, we would use the substitute function to replace every period with a period hyphen. The second option is to use the replace function, which is a bit more complicated as it requires you to specify the exact characters you want to replace. Overall, the substitute function is probably the best choice for this scenario. Finally, for those who prefer a more complex solution, you can use a combination of the find, left, mid, and len functions to achieve the same result. This method involves finding the position of the period in the cell, then using the left and mid functions to extract the characters before and after the period, and finally combining them with the hyphen in between. While this may be a bit more complicated, it can be useful for more complex scenarios. So there you have it, three different ways to add a hyphen after a period in Excel. Whether you prefer a simple find and replace, a formula solution, or a more complex combination of functions, we hope this helps you solve your problem. Thanks for watching, and be sure to tune in next time for more helpful tips and tricks from MrExcel. Don't forget to like and subscribe for more Excel content. See you next time! Buy Bill Jelen's latest Excel book: https://www.mrexcel.com/products/latest/ You can help my channel by clicking Like or commenting below: https://www.mrexcel.com/like-mrexcel-on-youtube/ Robbie calls in today to ask how to add a hyphen at an unknown position in each cell. For example, whenever Excel finds a period, add a dash. There are three solutions to this problem. Episode 536 compares them all. This blog is the video podcast companion to the book, Learn Excel from MrExcel. Download a new two minute video every workday to learn one of the 277 tips from the book! Table of Contents: (00:00) Introduction by Bill Jelen (00:17) Viewer question from Robbie (00:27) Robbie's question about adding a hyphen after a period (00:45) Bill's response and three possible solutions (01:13) Formula answer using the SUBSTITUTE function (01:40) Another function called REPLACE (01:52) Two-step method using FIND, LEFT, MID, and LEN functions (02:30) Clicking Like really helps the algorithm #excel #microsoft #microsoftexcel #exceltutorial #exceltips #exceltricks #excelmvp #freeclass #freecourse #freeclasses #excelclasses #microsoftmvp #walkthrough #evergreen #spreadsheetskills #analytics #analysis #dataanalysis #dataanalytics #mrexcel #spreadsheets #spreadsheet #excelhelp #accounting #tutorial This video answers these common search terms: Adding a hyphen in the middle of a cell in Excel Excel formula for adding a hyphen after a period Excel tips for text manipulation How to edit and replace characters in Excel How to replace characters in Excel cells MrExcel netcast on adding a hyphen after a period in Excel Solving formatting issues in Excel with hyphens Using LEFT, MID, and LEN functions in Excel Using the FIND function in Excel Using the REPLACE function in Excel Using the SUBSTITUTE function in Excel YouTube video on adding a hyphen after a period in Excel Join the MrExcel Message Board discussion about this video at https://www.mrexcel.com/board/threads/1152556/
More from this channel
-
3:57
Excel 2007 - Color of Selected Sheets is too much like unselected sheets - Episode 907
-
2:48
Excel - Adding Equals Icon to Excel QAT - Build Formula with Mouse - Episode 911
-
2:37
Excel - Enhance Your Excel Charts: Add a Picture as a Background in Excel - Episode 917
-
2:00
Excel Hiding Data in Plain Site - Episode 919
-
2:20
Excel - Bring Back The Full Excel 2003 Dialogs In Excel! - Episode 920
-
2:33
Excel - Why Have Three Worksheets In Every New Excel Workbook? Episode 921
-
2:12
Excel - MrExcel Tenth Anniversary Survey - Episode 877.5
-
3:37
Excel - Master the Camera Tool in Excel - Easily Align Numbers with Cartesian Grid - Episode 883