如何突出显示 google sheet 中第一个字母的单元格

How to highlight cells which are the first of the alphabet letter in google sheet

如果单词是字母表中的第一个单词,如何突出显示该单词?

例子

aaple   **highlight this
arrow
asterisk
banana  **highlight this
banter
bow
cat     **highlight this
citrus
cow
dog     **highlight this
donkey


NOTE: There are multiple columns and all the values are sorted already


Maximum number of highlighted words = 26

How to do this is google sheet?

问题

示例 google sheet 应突出显示如下:

您可以在条件格式中使用以下公式:

=AND((ARRAY_CONSTRAIN(FILTER(SORT(FLATTEN($A:$F),1,1),LEFT(SORT(FLATTEN($A:$F),1,1),1)=LEFT(A1,1)),1,1)=A1),(A1<>""))

只有名字重复,才会全部高亮