简体   繁体   English

Excel:突出显示单元格中的文本而不是单元格(没有 vba)

[英]Excel: Highlight text in cell not the cell (without vba)

How can i highlight specific text in excel not complete text ?如何在excel中突出显示特定文本而不是完整文本? (without using vba) I tried conditional formatting but that highlight complete cell instead of specific text in cell. (不使用vb​​a)我尝试了条件格式,但突出显示完整的单元格而不是单元格中的特定文本。

Let's say you have the following range (A1 to A4)假设您有以下范围(A1 到 A4)

Username用户名
Jatin贾廷
John Doe约翰·多伊
Mary Williams玛丽·威廉姆斯

You can do it the following way :您可以通过以下方式进行操作

  1. Conditional Formatting条件格式
  2. Manage Rules管理规则
  3. New Rule新规则
  4. Use formula to determine which cells to format使用公式确定要格式化的单元格
  5. Format values where this formula is true:在此公式为真的情况下格式化值:

On the above step, input the following formula (change it to whatever range or formula you wish to)在上述步骤中,输入以下公式(将其更改为您希望的任何范围或公式)

=$A2="Jatin" =$A2="贾廷"

  1. Format格式
  2. Font tab字体选项卡
  3. Select the formatting you want to apply选择要应用的格式
  4. Change the range it applies to (=$A$2:$A$4)更改它适用的范围 (=$A$2:$A$4)

在此处输入图像描述

编辑单元格值,选择要突出显示的单词,突出显示它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM