Create a custom formula in Google Sheets that concatenates and capitalizes text:
- Open your Google Sheet and navigate to the tab where you want to add the custom formula.
- Click on the “Tools” menu and select “Script editor”.
- In the script editor, paste the following code:
- Save the script by clicking on “File” and then “Save”.
- Go back to your Google Sheet and enter the following formula in a cell where you want to use the custom formula:
Note: Here, A1 and B1 are the cells that contain the text you want to concatenate and capitalize.
- Hit enter, and the formula will return the concatenated and capitalized text. For example, let’s say you have the following data in cells A1 and B1:
When you use the custom formula in cell C1, the formula will return:
This custom formula can be used to easily concatenate and capitalize text in Google Sheets without having to format the text manually.