
#Google sheets script set fontcase how to#
How to apply case changing formulas to a column Notice that in the example above, only the first letter of every word has been capitalized, and that any letters that were originally uppercase but not the first letter of a word, have now been changed to lowercase. The logic: Capitalize the first letter of each name that is in the range A2:A15 The task: Capitalize only the first letter of each name


This would be very tedious to do manually, but luckily you can do this instantly by using the PROPER function. Let's say that your boss gave you the list of names shown below, and asked you to change them into a nice format where only the first letter of each name is capitalized. Some of the names shift from lowercase to uppercase in every letter, which makes the list look very unprofessional and in many cases can make the data hard to reliably use when needing to match criteria in case-sensitive formulas. In the example image below, the original list of names that we are going to change the case of, is even messier than the list of names in the last example. In this example, we will use the PROPER function to capitalize the first letter of every name (both first and last), that is listed in a column. The formula: The formula below, is initially entered into cell C2, and then copied into the cells below it for this example The logic: Use the UPPER function to capitalize the letters in the text that is found in the range A2:A15

The task: Capitalize every letter in a list of names For example, you might need to display the names in this way for a financial record, or perhaps you are using case sensitive formulas to lookup/match information.īy using the UPPER function in a Google spreadsheet you can automatically change every letter into the capitalized format that you require. In the example image below, you'll see that the original unmodified list of names is shown in the normal format that you'd expect a name to be displayed in (with only the first letter of each word/name being capitalized).īut let's say that for whatever reason, your task/job requires you to have names in all capital letters. In this example we will use the UPPER function to capitalize all of the letters in a list of names.
