When using excel, due to improper operation, or the overall change of the data name after creation, etc., we need to readjust the content of the table. When there is not much content in the table, you can modify it one by one. But when you encounter a large amount of data, how do you modify it? Let me introduce to you how to add prefixes and suffixes to excel cell contents in batches. As shown in the figure below, we need to add sales department - in front of the salesperson's name, and add 10,000 yuan after the sales amount. Let's see how to achieve it.
1. Select all cells to which you want to add prefixes or suffixes, then right-click the mouse and click the Format Cells button (shortcut Ctrl+1) in the pop-up right-click menu. 2. In the pop-up Format Cells dialog box, switch to the Number tabQuestion: How to add a custom prefix to text in PHP? Brief explanation: In this article, PHP editor Banana will introduce in detail how to use PHP to add custom prefixes to text, from basic syntax to more advanced solutions. Guided Reading: Continue reading below to learn how to add custom prefixes to text in PHP and apply it in a variety of real-world scenarios.
Customized format for adding suffix to numbers: 00,000 yuan
Note: The quotation marks ("") in the custom format must be English quotation marks, Chinese quotation marks cannot be used, which are the quotation marks typed by the input method in English mode. In the custom format, the @ symbol indicates that the cell content is in text format, and 0 indicates that it is a number. Format. fenye
The above is the detailed content of How to add prefix and suffix to excel cell content. For more information, please follow other related articles on the PHP Chinese website!