IFé¢æ°ã¨IFSé¢æ°ã®éãï¼åå¿è åãã¬ã¤ã
IFé¢æ°ã¨IFSé¢æ°ã®éãï¼åå¿è åãã¬ã¤ã
Excelã§æ¡ä»¶ã«åºã¥ãããã¼ã¿å¦çãè¡ãéã«ä¾¿å©ãªé¢æ°ã¨ãã¦ãIFé¢æ°ã¨IFSé¢æ°ãããã¾ãããããã®é¢æ°ã®éãã¨ãããããã®ä½¿ãæ¹ã«ã¤ãã¦è©³ãã説æãã¾ãã
1. IFé¢æ°ã®ä½¿ãæ¹
IFé¢æ°ã¯ãæå®ããæ¡ä»¶ãçï¼TRUEï¼ãå½ï¼FALSEï¼ããå¤å®ããããã«å¿ãã¦ç°ãªãå¤ãè¿ãé¢æ°ã§ããåºæ¬çãªæ§æã¯ä»¥ä¸ã®éãã§ãã
=IF(æ¡ä»¶, æ¡ä»¶ãçã®å ´åã®å¤, æ¡ä»¶ãå½ã®å ´åã®å¤)
åºæ¬çãªä¾
以ä¸ã®ä¾ã§ã¯ãã»ã«A1ã®å¤ã10以ä¸ã§ããã°ãåæ ¼ãããã以å¤ãªããä¸åæ ¼ãã表示ãã¾ãã
=IF(A1 >= 10, "åæ ¼", "ä¸åæ ¼")
2. IFSé¢æ°ã®ä½¿ãæ¹
IFSé¢æ°ã¯ãè¤æ°ã®æ¡ä»¶ãè¨å®ããããããã®æ¡ä»¶ã«å¯¾ãã¦ç°ãªãçµæãè¿ããã¨ãã§ããé¢æ°ã§ããè¤æ°ã®IFé¢æ°ããã¹ããããã¨ãªããç°¡æ½ã«è¤æ°ã®æ¡ä»¶ãå¦çãããã¨ãã§ãã¾ããåºæ¬çãªæ§æã¯ä»¥ä¸ã®éãã§ãã
=IFS(æ¡ä»¶1, æ¡ä»¶1ãçã®å ´åã®å¤, æ¡ä»¶2, æ¡ä»¶2ãçã®å ´åã®å¤, ..., æ¡ä»¶n, æ¡ä»¶nãçã®å ´åã®å¤)
åºæ¬çãªä¾
以ä¸ã®ä¾ã§ã¯ãã»ã«A1ã®å¤ã«å¿ãã¦ç°ãªãè©ä¾¡ã表示ãã¾ãã
=IFS(A1 >= 90, "åªç§", A1 >= 70, "è¯å¥½", A1 >= 50, "æ®é", A1 < 50, "ä¸è¶³")
Â
3. IFé¢æ°ã¨IFSé¢æ°ã®éã
ç¹å¾´ | IFé¢æ° | IFSé¢æ° |
---|---|---|
ç¨é | åä¸ã®æ¡ä»¶ãè©ä¾¡ãã | è¤æ°ã®æ¡ä»¶ãè©ä¾¡ãã |
æ§æã®è¤éã | ãã¹ããå¿ è¦ã§è¤éã«ãªããã¡ | ã·ã³ãã«ã§èªã¿ããã |
ã¨ã©ã¼ã®ãªã¹ã¯ | ãã¹ããæ·±ããªãã¨ã¨ã©ã¼ãå¢ãã | ã·ã³ãã«ãªããã¨ã©ã¼ãå°ãªã |
対å¿ããæ¡ä»¶æ° | ä¸åº¦ã«ä¸ã¤ã®æ¡ä»¶ | ä¸åº¦ã«è¤æ°ã®æ¡ä»¶ |
IFé¢æ°ã®ãã¹ãä¾
ä¾ãã°ãã»ã«A1ã®å¤ã«å¿ãã¦è©ä¾¡ã表示ããå ´åãIFé¢æ°ã§ã¯ä»¥ä¸ã®ããã«æ¸ãå¿ è¦ãããã¾ãã
=IF(A1 >= 90, "åªç§", IF(A1 >= 70, "è¯å¥½", IF(A1 >= 50, "æ®é", "ä¸è¶³")))
ãã®ããã«ãæ¡ä»¶ãå¢ããã¨ãã¹ããæ·±ããªããèªã¿ã¥ãããªãã¾ãã
IFSé¢æ°ã®ç°¡æ½ãªä¾
åãæ¡ä»¶ãIFSé¢æ°ã§æ¸ãã¨ã以ä¸ã®ããã«ç°¡æ½ã«è¡¨ç¾ã§ãã¾ãã
=IFS(A1 >= 90, "åªç§", A1 >= 70, "è¯å¥½", A1 >= 50, "æ®é", A1 < 50, "ä¸è¶³")
4. å®éã®ä½¿ç¨ä¾
IFé¢æ°ã®ä½¿ç¨ä¾
è©ä¾¡ã表示ããããã«ãIFé¢æ°ã使ç¨ããä¾ã§ãã
=IF(B3 >= 90, "A", IF(B3 >= 80, "B", IF(B3 >= 70, "C", "D")))
IFSé¢æ°ã®ä½¿ç¨ä¾
åãè©ä¾¡ãIFSé¢æ°ã使ç¨ãã¦è¡¨ç¤ºããä¾ã§ãã
=IFS(B3 >= 90, "A", B3 >= 80, "B", B3 >= 70, "C", B3 < 70, "D")
5. ã¾ã¨ã
- IFé¢æ°ã¯åä¸ã®æ¡ä»¶ãå¦çããã®ã«é©ãã¦ãããç°¡åãªæ¡ä»¶åå²ã«ä¾¿å©ã§ãã
- IFSé¢æ°ã¯è¤æ°ã®æ¡ä»¶ãã·ã³ãã«ã«å¦çã§ãããããè¤éãªæ¡ä»¶åå²ãç°¡æ½ã«è¨è¿°ãããã¨ãã§ãã¾ãã