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

[µo°Ý] ­pºâ¥XÁÙ¦³´X­Ó¤ë¨ì´Á

[µo°Ý] ­pºâ¥XÁÙ¦³´X­Ó¤ë¨ì´Á

¥»©«³Ì«á¥Ñ p0078 ©ó 2010-8-29 15:56 ½s¿è

ªþ¥ó¦³»~­«·s¤W¶Ç

book.rar (7.7 KB)

·s¤B¾Ç·|¦¹Â²³æªº§@ªk¡I
§Ú¥H«e¥uÀ´¥Î¥H¦Û¤v´¢ºNªºªº¤èªk¡G¡I
=DATE(YEAR(A3),MONTH(A3)+3,DAY(A3))

TOP

»yªk
DATEDIF(start_date,end_date,unit)

Start_date    ¥Nªí¬Y´Á¶¡¤ºªº²Ä¤@­Ó¤é´Á©Î°_©l¤é´Á¡C¤é´Á¦³¦hºØ¿é¤J¤èªk¡G±a¤Þ¸¹ªº¤å¦r¦r¦ê (¨Ò¦p "2001/1/30")¡B§Ç¸¹ (¨Ò¦p¡A¦pªG¨Ï¥Î 1900 ¤é´Á¨t²Î¡A«h 36921 ¥Nªí 2001 ¦~ 1 ¤ë 30 ¤é)¡A©Î¬O¨ä¥L¤½¦¡©Î¨ç¼Æªºµ²ªG (¨Ò¦p¡ADATEVALUE("2001/1/30"))¡C

End_date    ¥Nªí¬Y´Á¶¡¤ºªº³Ì«á¤é´Á©Îµ²§ô¤é´Á¡C

Unit    ±z§Æ±æ¶Ç¦^ªº¸ê°TÃþ«¬¡G

Unit ·|¶Ç¦^
"Y" ´Á¶¡¤ºªº§¹¾ã¦~¼Æ¡C
"M" ´Á¶¡¤ºªº§¹¾ã¤ë¼Æ¡C
"D" ´Á¶¡¤ºªº¤Ñ¼Æ¡C
"MD" start_date »P end_date ªº¤Ñ¼Æ®t¡C©¿²¤¤é´Á¤¤ªº¤ë©M¦~¡C
"YM" start_date »P end_date ªº¤ë¼Æ®t¡C©¿²¤¤é´Á¤¤ªº¤é©M¦~¡C
"YD" start_date »P end_date ªº¤Ñ¼Æ®t¡C©¿²¤¤é´Á¤¤ªº¦~¡C
³Æµù
¥H§Ç¸¹Àx¦s¤é´Á¡A³o¼Ë¥¦­Ì¥i¥H¥Î©ó­pºâ¡C¨Ì¹w³]¡A1899 ¦~ 12 ¤ë 31 ¤éªº§Ç¸¹¬° 1¡A¦Ó 2008 ¦~ 1 ¤ë 1 ¤éªº§Ç¸¹«h¬° 39448¡A¦]¬°¥¦¬O 1900 ¦~ 1 ¤ë 1 ¤é¤§«áªº²Ä 39,448 ¤Ñ¡C
DATEDIF ¨ç¼Æ©ó»Ý­n­pºâ¦~ÄÖªº¤½¦¡®É«Ü¦³¥Î¡C
½d¨Ò
Start_date End_date ¤½¦¡ »¡©ú (µ²ªG)
1/1/2001 1/1/2003 =DATEDIF(Start_date,End_date,"Y") ¶g´Á¤¤ªº¨â­Ó¾ã¦~ (2)
6/1/2001 8/15/2002 =DATEDIF(Start_date,End_date,"D") 2001 ¦~ 6 ¤ë 1 ¤é»P 2002 ¦~ 8 ¤ë 15 ¤é¤§¶¡¦@¦³ 440 ¤Ñ (440)
6/1/2001 8/15/2002 =DATEDIF(Start_date,End_date,"YD") ©¿²¤¤é´Á¤¤ªº¦~¡A6 ¤ë 1 ¤é©M 8 ¤ë 15 ¤é¤§¶¡¦@¦³ 75 ¤Ñ (75)
6/1/2001 8/15/2002 =DATEDIF(Start_date,End_date,"MD") ©¿²¤¤é´Á¤¤ªº¤ë©M¦~¡Astart_date ¤¤ªº¤Ñ¼Æ (1) »P end_date ¤¤ªº¤Ñ¼Æ (15) ¤§¶¡ªº®t (14)
¾Ç²ß¤~¯à´£¤É¦Û¤v

TOP

¦^´_ 10# Hsieh

©_©Ç¤§«e¦³¦^´_«ç»ò¨Sµo¥X¨Ó
¦Aµo¤@¦¸
·PÁÂHsieh ¤j¤j
Åý§ÚªºÀɮײ¤Æ¤F
­ì¨Ó¤ÀªR¤u¨ã½c¤Ä¿ï«áÁÙ¦³¦n¥ÎªºªF¦è §Ú³£¤£ª¾¹D©O
Hsieh ¤j¤j¯uªºÅý§Ú¾Ç¤F¦n¦hªF¦è
µ¹§A©ç©ç¤â^^

TOP

¦^´_ 5# cappuccino22

µ¹­Ó¨C¦~³£¥i¥H¥Îªº
    =DATEDIF(TODAY(),DATE(YEAR(TODAY()),12,31),"D")
¤p§Ì¬Oexcelµ{¦¡ªì¾ÇªÌ¡A½Ð¦h¦h«ü±Ð

TOP

¦^´_ 10# Hsieh


·PÁÂ Hsieh ¤j¤j
Åý§ÚªºÀÉ®×´îªÎ¤F^^

TOP

¦^´_ 10# Hsieh


¯u¬O¤Ó·PÁÂHsieh ¤j¤j¤F
À°¤p§Ì¸Ñ¨M¤F¦n¦h·Ð´o
¤p§Ì´ú¸Õ«á ¥i¥H¥¿±`¨Ï¥Î ¤p§Ì«D±`°ª¿³©O
¤]Åý¤p§Ì¦h¾Ç¤F¦n¦hEXCELªºÀ³¥Î¤è¦¡
¤p§ÌÀ°§A±À±À±À^^

TOP

¦^´_ 9# gn00487767

¤u¨ã/¼W¯q¶°
¤Ä¿ï¤ÀªR¤u¨ã½c
D3=EDATE(A3,B3)
¦V¤U½Æ»s
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 8# Hsieh

¦A¦¸·PÁÂHsieh ¤j¤j
¤p§Ì´ú¸Õ¹L ¥\¯à¥¿±` ¥u¬O¨S¦³»¡©ú ¤p§ÌµLªk¥Î³o­Ó¤èªk°µ°Ñ¦Ò
¤p§Ì»Ý­n§â¤@­Ó¤é´Áªº¤ë¼Æ ¼W¥[¤£µ¥ªº¤ë¥÷
¦C¦pAÄ欰¤é´Á
    A2ªº¤é´Á¬°2010/11/15
      BÄ欰§Ú­n¼W¥[ªº¤ë¥÷¼Æ
    B2ªº¼Æ¦r¬°3
      CÄæ¬O§Ú­nªºµ²ªG
    C2«hÅã¥Ü¬°2011/02/15
(¼W¥[«áÁÙ­n­n¦Û°Ê¼W¥[¦~)
¤p§Ì¦³°µ¥X¤@­Óªí¦ý¬O«ÜÂø¶Ã
©Ò¥H·Q°Ý¬Ý¬Ý¬O¤£¬O¦³¤ñ¸û²³æªº¤èªk
¦p¤U

¤é´Á­pºâ.rar (8.38 KB)

TOP

¦^´_ 7# gn00487767
DATEDIF¨ç¼Æ¤£¤Àª©¥»³£¤£·|¥X²{¦b¨ç¼Æ²M³æ
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : §Ñ¥\¤£§Ñ¹L¡A§Ñ«è¤£§Ñ®¦¡C
ªð¦^¦Cªí ¤W¤@¥DÃD