ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] Â^¨úÀx¦s®æ¤é´Á°ÝÃD

=IF(COUNT(0/(-LOOKUP(,-LEFT(A2,{8,9,10}))<D2)),"¹O´Á","")

LEFT(A2,{8,9,10})
¤é´Á®æ¦¡¥i¯à¦p¤U:
2016/3/1   8­Ó¦r¤¸
2016/3/12  9­Ó¦r¤¸
2016/12/1  9­Ó¦r¤¸
2016/10/23  10­Ó¦r¤¸

¦P®É¥H°}¦C¨ú{8,9,10}¦ì¤¸, ¦A¥Hlookup±a¥X³Ì§¹¾ã¤é´Á¨Ó¤ñ¹ï§Y¥i!

TOP

¥»©«³Ì«á¥Ñ KCC ©ó 2016-7-17 13:22 ½s¿è

¦^´_ 1# msmplay

    °Ñ¦Ò§A­ì¨Ó¤½¦¡¦C¥X¥i¯à­nªºÀË´úÂI¡A¥i¦Û¤vµø»Ý­n½Õ¾ã¤½¦¡

    B2=IF((A2="")+(A2="-"),"",IF((IF(ISERR(FIND("-",A2)),A2,--(LEFT(A2,FIND("-",A2)-2)))<D2),"¹O´Á",""))  ¤U©Ô

     1.find("-",A1), §ä¨ì"-"ªº¦ì¸m«á¡A¦]¬°«e­±ÁÙ¦³¤@­Ó´«¦æ¦r¤¸(char(10), «ö alt-enter«á²£¥Í)¡A©Ò¥H­n´î 2
        ­Y§ï¦¨find char(10)¡A´N­n§ï¦¨´î1¡C
     2.¦P1­ì²z¡A ¤£´î2ªº¸ÜºI¨ú¥X¨Óªº¬O¦r¦ê¡A¦r¦ê©M¤é´Á¤ñ¤j¤p¡A¦r¦ê>¼Æ¦r¡A©Ò¥H¤£·|¹O´Á¡C
         ¦Û¤v¥Îtype()©Mlen()ÀË´ú¤@¤U§AºI¨ú¥X¨Óªº¸ê®Æ«¬ºA©Mªø«×´NÀ´¤F¡C
     3.¥Îiserr©Misnumber³£¥i¥H¡AÅÞ¿è³B²z­è¦n¬Û¤Ï¡Aif¤½¦¡¹ï½Õ½Õ¾ã¤@¤U´N¥i¡C

TOP

¦^´_ 1# msmplay
B2=IF(ISERR(FIND("-",A2))*(A2>D2),"",IF(ISERR(FIND("-",A2))*(A2<D2),"¹O´Á",IF(FIND("-",A2),IF(DATEVALUE(MID(A2,1,FIND("-",A2,1)-2))>D2,"","¹O´Á"))))
¦V¤U½Æ»s
½Ð°Ñ¦Ò¡I

TOP

        ÀR«ä¦Û¦b : ­×¦æ­nô½t­×¤ß¡AÂǨƽm¤ß¡AÀH³B¾i¤ß¡C
ªð¦^¦Cªí ¤W¤@¥DÃD