2つの異なるセルのテキストに基づいてExcelでifステートメントを記述する必要があります。ヌルは、細胞複数IF IFステートメントexcel
に値ではありません
If E2 ='in play' and F2 ='closed' output 3
If E2= 'in play' and F2 ='suspended' output 2
If E2 ='In Play' and F2 ='Null' output 1
If E2 ='Pre-Play' and F2 ='Null' output -1
If E2 ='Completed' and F2 ='Closed' output 2
If E2 ='Suspended' and F2 ='Null' output 3
If anything else output -2
私は以下のコードでこれを行うにしようとしていたが、私は2つ以上の場合は一緒に働くの文を得るように見えることはできません。どうすればこの問題を解決できますか?
=IF(AND(E2="In Play",F2="Closed"),3, -2), IF(AND(E2="In Play",F2=" Suspended"),3,-2)
1ダビデを通信作り、私は私の上に括弧を台無しに - 私はあなたのバージョンを見たとき、私はそれを実現!今編集しました...... –
心配しないで、私はあなたが私にそれを打つことを見るために私だけを投稿しました:) –