Word and Excel Bulk Insert learning level for student comments

Source: Internet
Author: User

A colleague comes up with a Word document about student comments, as shown in Figure 1, which requires that the evaluation of the learning level be inserted after the math score, where the grades must be judged according to the mathematical results, failing, good, excellent, and so on at different levels. For the above requirements, the steps will be tedious if you simply operate in Word. In fact, we can use the combination of Word and exceL, the following steps:

Step 1th: Press the "CTRL+H" key combination in Word to open the Find and Replace → Replace dialog box, click the More button to switch to advanced replacement mode, and check the use wildcard checkbox.

Step 2nd: Set the Find content to [0-9] {1,}, and "Replace with" set to "^&, learning Level ^p^&^p", where "^&" indicates the contents of the lookup, and "^p" represents the paragraph mark. Alternatively, you can set the Find content to "([0-9]{1,})," "Replace with" set to "^&, learn Level ^p1^p", and note that the "," here is all in Chinese, or it can be copied from the document.

After the check is correct, click the Replace All button, and you will get the effect shown in Figure 2, primarily to make it easier to handle in Excel.

3rd Step: Select the document, paste it into Excel, right-click to open the format cells → math dialog box, choose Custom category, manually set to "[<60]" "Fail"; [<80] "" Good ""; " Excellent "", note here ";" are in English half-width state input.

Step 4th: Copy the contents of Excel back to Word, and open the Paste Selective dialog box, where you will select unformatted text paste format. Next, the Replace dialog box is still opened, and the find content is set to "(Learning level) ^13 (*) ^13", replaced by "12", where "12" represents the 1th and 2nd expressions in the Lookup box, respectively.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.