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

·³¼Æ,¤ë¼Æ?!

¦^´_ 9# myleoyes


    A10=DATEDIF(DATE(YEAR(TODAY())-1,12,DAY(A6)),TODAY(),"D")
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 12# Hsieh


    Leo20.rar (4.21 KB)

TOP

¥»©«³Ì«á¥Ñ Hsieh ©ó 2012-1-9 10:00 ½s¿è

¦^´_ 13# register313

A10=DATEDIF(EDATE(A6,DATEDIF(A6,TODAY(),"M")),TODAY(),"D")

DATEDIF¨ç¼Æ¦b­pºâ¤é¼Æ¤W®t²§¸û¤j
A10=TODAY()-EDATE(A6,A8*12+A9)
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 10# jarodz
         «e½ú!ÁÂÁ¦A¤T!!

TOP

¦^´_ 14# Hsieh
   °¸¹³«e½ú!  ÁÂÁ¦A¤T!!
    register313 «e½ú!
              §Þ°ª¤S²Ó¤ßÁÂÁ¦A¤T!!
        ¨â¦ì«e½ú!¤p§Ì¥t¦³©µÄò°ÝÃD½Ð±Ð
        ¦AªþªºÀÉ®×»¡©ú
        ½Ð¤£§[½ç±ÐÁÂÁ¦A¤T!!

Leo20-2.rar (12.7 KB)

TOP

¦^´_  Hsieh
   °¸¹³«e½ú!  ÁÂÁ¦A¤T!!
    register313 «e½ú!
              §Þ°ª¤S²Ó¤ßÁÂÁ¦A¤T!!
  ...
myleoyes µoªí©ó 2012-1-8 23:14


DATEDIF¦³¤pbug,¦]¦¹¬°ÁôÂèç¼Æ
¥H¤U¬°­Ó¤H¤§µ²½×(¥i¦A½Ð±Ð½×¾Â¤W¦U¦ì¤j¤j)
¦~  A8=DATEDIF(A6,TODAY(),"Y")
¤ë  A9=DATEDIF(A6,TODAY(),"YM")
¤é  A10=IF(TODAY()=EOMONTH(TODAY(),0),IF(A6=EOMONTH(A6,0),0,DAY(EOMONTH(A6,0))-DAY(A6)),IF(DAY(TODAY())>=DAY(A6),DAY(TODAY())-DAY(A6),EOMONTH(A6,0)-A6+DAY(TODAY())))

¬O§_¥ý¨Ì¤W¦C¤½¦¡¥ý§@­×¥¿

TOP

¦^´_ 17# register313
«e½ú!!¨¯­WÅo!ÁÂÁ¦A¤T!!
         A10=DATEDIF(EDATE(A7,DATEDIF(A7,TODAY(),"M")),TODAY(),"D")
         A10=TODAY()-EDATE(A7,A8*12+A9)
         ¸g´ú¸Õ¦b¨C¦~2¤ë¥÷¬Ò·|¥X²{¿ù
         A10=DAY(EOMONTH(A7,0))-DAY(A7)+DAY(TODAY())»P«e½úªº¤½¦¡«h¥¿½T
         B9=DATEDIF(DATE(YEAR(B7)-1,12,DAY(B7)),B7,"YM")
         B10=DATEDIF(EOMONTH(B7,-1),B7,"D")
         C10=IF(MONTH(B7)=MONTH(B7),DAY(EOMONTH(B7,0))-B10)
         ¥H¤W¬O¤p§Ì§ä¨ìªºµª®×¤£ª¾¬O§_¦³»~ÁٽЦU¦ì«e½ú«ü¾ÉÁÂÁ¤j®a

TOP

¦^´_ 18# myleoyes

A8=DATEDIF(A7,TODAY(),"Y")
A9=DATEDIF(A7,TODAY(),"YM")
A10=IF(TODAY()=EOMONTH(TODAY(),0),IF(A7=EOMONTH(A7,0),0,DAY(EOMONTH(A7,0))-DAY(A7)),IF(DAY(TODAY())>=DAY(A7),DAY(TODAY())-DAY(A7),EOMONTH(A7,0)-A7+DAY(TODAY())))

B8=DATEDIF(A7,B7,"Y")
B9=DATEDIF(A7,B7,"YM")
B10=IF(B7=EOMONTH(B7,0),IF(A7=EOMONTH(A7,0),0,DAY(EOMONTH(A7,0))-DAY(A7)),IF(DAY(B7)>=DAY(A7),DAY(B7)-DAY(A7),EOMONTH(A7,0)-A7+DAY(B7)))

C8=DATEDIF(A7,C7,"Y")
C9=DATEDIF(B7,C7,"M")
C10=DAY(EOMONTH(B7,0))-B10

TOP

¦^´_ 19# register313
«e½ú!!«z«D±`ªº·P®¦¯u¬O¨¯­WÅo!ÁÂÁ¦A¤T!!
         C10=IF(C7=EOMONTH(C7,0),IF(B7=EOMONTH(B7,0),0,DAY(EOMONTH(B7,0))-DAY(B7)),IF(DAY(C7)>=DAY   (B7),DAY(C7)-DAY(B7),EOMONTH(B7,0)-B7+DAY(C7)))
         ³o¼Ë¤l¤~¥¿½T        
          D7=SUM(D6*C9,D6/DAY(EOMONTH(C7,0))*C10)

TOP

        ÀR«ä¦Û¦b : ¬O«D·í±Ð¨|¡AÆg¬ü§@ĵ±§¡C
ªð¦^¦Cªí ¤W¤@¥DÃD