Excel の IF ステートメントは初めてで、ネストされた IF 関数と呼ばれるものに問題があります。ここで他の IF の質問を見てきましたが、初心者の脳には複雑すぎて理解できません。
I have a column that has numbers in it. There are about a dozen different numbers. The numbers represent a specific team. For example, 100 is team red, 101 is team yellow, 102 is team green, etc. I need to create an IF statement that will tell me what each of the teams are based on the numbers. I have hundreds of rows to filter through and I don't want to do them manually if the function exists to automate it in Excel.
I tried to write my own nested IF statement and it's not working. What am I doing wrong?
=IF(B2="100",red,IF(B2="101",blue,IF(B2="103",green,IF(B2="104",yellow,""))))
Help?