Google Sheet 合并两个 IF 时输出错误

Google Sheet outputs an error when combining two IFs

无法弄清楚为什么公式是错误的,它输出一个#error

=IF(AND(($E6<=O);($F6>=O));"A";"")OR(IF(AND(($E6<=O);($h6>=O));"X";""))

尝试:

=IF(($E6<=O)*($F6>=O); "A"; 
 IF(($E6<=O)*($H6>=O); "X"; ))