Posts tagged "RegEx"

Change font to sentence case in Excel with formulas and VBA

Cleaning up text in Excel sheets isn't always as simple as it should be. Especially, when all you want is a normal-looking sentence and not a mix of uppercase and lowercase chaos. Although there is no built-in function for sentence case in Excel, a properly written formula or macro can take care of it in seconds. Continue reading

Excel Data Validation using regular expressions

When it comes to restricting user input in Excel worksheets, Data Validation is indispensable. It can do anything you can possibly imagine. What if I want to allow entering only valid email addresses or strings that match a specific pattern? Alas, that's not possible. Regex you say? Hmm… that might work! Continue reading