所有 sheet 个单元格上的 arrayformula 检查字符串
arrayformula cheking strings on all sheet cells
我有一个检查字符串的代码,但我无法将其放入数组公式中,如果有人可以提供帮助,我将不胜感激!
我的 sheet
的副本在哪里
https://docs.google.com/spreadsheets/d/10mkrxCLGkOcKrm481jnsMdQTlf_kgoXUF3eWLKJnKS0/edit?usp=sharing
=IF(AND(
MID(A5,8,1)=MID(A5,5,1),MID(A5,2,1)=MID(A5,5,1)),"1 - monoton",
IF(AND(MID(A5,8,1) <> MID(A5,5,1), MID(A5,2,1) <> MID(A5,5,1), MID(A5,2,1) <> MID(A5,8,1)), "3 - rainbow",
"2 - two tone"))
使用:
=ARRAYFORMULA(IF((
MID(A5:A,8,1)=MID(A5:A,5,1))*(MID(A5:A,2,1)=MID(A5:A,5,1)),"1 - monoton",
IF((MID(A5:A,8,1) <> MID(A5:A,5,1))*(MID(A5:A,2,1) <> MID(A5:A,5,1))*(MID(A5:A,2,1) <> MID(A5:A,8,1)), "3 - rainbow",
"2 - two tone")))
我有一个检查字符串的代码,但我无法将其放入数组公式中,如果有人可以提供帮助,我将不胜感激! 我的 sheet
的副本在哪里https://docs.google.com/spreadsheets/d/10mkrxCLGkOcKrm481jnsMdQTlf_kgoXUF3eWLKJnKS0/edit?usp=sharing
=IF(AND(
MID(A5,8,1)=MID(A5,5,1),MID(A5,2,1)=MID(A5,5,1)),"1 - monoton",
IF(AND(MID(A5,8,1) <> MID(A5,5,1), MID(A5,2,1) <> MID(A5,5,1), MID(A5,2,1) <> MID(A5,8,1)), "3 - rainbow",
"2 - two tone"))
使用:
=ARRAYFORMULA(IF((
MID(A5:A,8,1)=MID(A5:A,5,1))*(MID(A5:A,2,1)=MID(A5:A,5,1)),"1 - monoton",
IF((MID(A5:A,8,1) <> MID(A5:A,5,1))*(MID(A5:A,2,1) <> MID(A5:A,5,1))*(MID(A5:A,2,1) <> MID(A5:A,8,1)), "3 - rainbow",
"2 - two tone")))