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

¦³Ãö¦æ¨Æ¾ä¡A¦p¦ó­pºâ·í¤ë¥X¶Ô¤Î°²¤é¤Ñ¼Æ¡H

¦^´_ 14# phoebegin


    ³]©w®æ¦¡±ø¥ó­n¥þ³¡¤Ï¥Õ³]©w¡AÁÙ¬O¤@­Ó¤@­Ó³]©w©O¡H¡]§Ú°O±o¤§«eªºÀɬOª½±µ¥þ³¡¤Ï¥Õ³]©w¡^

¥þ³¡¤Ï¥Õ³]©w

§Ú¥Ø«e¨Ï¥Î2007ª©¡A¦³®É¥þ³¡¤Ï¥Õ³]©w¦³·|¦³°ÝÃD¡A§Ú³£¬O¥ý²M°£¿ï¾Ü½d³ò¤ºªº­ì¥ý³]©w¦A­«³]
§Úı±o2003§Ú¤ñ¸û²ßºD¡C
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_ 13# ML089


    ¦Ñ®v~§Ú¯uªºµo²{¦Û¤v«Ü¶w¡A¦A±Ð±Ð§Ú¦n¶Ü¡H

¡@ ¥t¥~³]©w®æ¦¡±ø¥ó­n¥þ³¡¤Ï¥Õ³]©w¡AÁÙ¬O¤@­Ó¤@­Ó³]©w©O¡H¡]§Ú°O±o¤§«eªºÀɬOª½±µ¥þ³¡¤Ï¥Õ³]©w¡^

   ¦A¥t¥~¡ã¦pªG¨ä¤¤¤@¤Ñ¤»©Î¤é¥²¶·¸É¯Z¡]¤W¯Z¡^¡A¨º»ò­n¦A¦p¦ó³]©w©O¡H

TOP

¦^´_ 12# phoebegin


    ¸ÌÀY{1,2,3,4,5,6,7}¥NªíÄæ¡A{0;1;2;3;4;5}¥Nªí¦C¶Ü¡H

YES

{1,2,3,4,5,6,7}¥Nªí¤ô¥­°}¦C
{0;1;2;3;4;5}¥Nªí««ª½°}¦C
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_ 11# ML089


¡@¡@ÁÂÁ±z~±z¤Ó¶K¤ß¤F¡A±q¬Q¤Ñ¤@ª½¦b«ä¦Ò¦p¦ó­×§ï¡A±z³o³õ¤Î®É«B¤S¥X²{¤F¡A
¡@¡@¡@¡@¡@¡@¤£¦ý¨qÀɮסAª¾¹D§Ú¥Ø«eÅv­­¤£¨¬ÁÙÀ°§Ú§â¤½¦¡¨q¥X¡A°ÝÃD´X¥G³£¸Ñ¨M¤F¡ã
¡@¡@¡@¡@¡@¡@²{¦b¦³ª¬ªpªº³Ñ³Ì¤U¤è³]©w®æ¦¡ªº°ÝÃD¡Aµ¥Åv­­¨¬°÷(§Ö¨¬Åo)¡A¦A§â±zªºÀɮפU¸ü¨Ó¦n¦n¬ã¨s~
               ¥t¥~·Q½Ð±Ð±z°}¦C¤½¦¡
{=IF(MONTH(A5)=MONTH(A5-WEEKDAY(A5)+{1,2,3,4,5,6,7}+{0;1;2;3;4;5}*7),A5-WEEKDAY(A5)+{1,2,3,4,5,6,7}+{0;1;2;3;4;5}*7,"")}
¡@¡@¡@¡@¡@¡@¸ÌÀY{1,2,3,4,5,6,7}¥NªíÄæ¡A{0;1;2;3;4;5}¥Nªí¦C¶Ü¡H

TOP

¥»©«³Ì«á¥Ñ ML089 ©ó 2015-7-21 22:58 ½s¿è

¦^´_ 10# phoebegin

A3 =DATE(B1,1,1)
A9 =EDATE(A3,1)
B3:H8 {=IF(MONTH(A3)=MONTH(A3-WEEKDAY(A3)+{1,2,3,4,5,6,7}+{0;1;2;3;4;5}*7),A3-WEEKDAY(A3)+{1,2,3,4,5,6,7}+{0;1;2;3;4;5}*7,"")}
I4 =NETWORKDAYS(A3,EOMONTH(A3,0),OFFSET(K$2,,,COUNT(K:K)))
I7 =DAY(EOMONTH(A3,0))-I4
{¡K} ªí¥Ü¬°°}¦C¤½¦¡¡A¿é¤J¤½¦¡»Ý¨Ï¥Î¤TÁä¿é¤J(CTRL+SHIFT+ENTER¤TÁä»ô«ö¿é¤J)

EDATE¨ç¼Æ
¤u¨ã\¥[¸ü§»(ÁcÅ骩ºÙ¼W¯q¶°)\¥´¤Ä¥H¤U¤T­Ó¿ï¶µ
1. internet VBA»²§Uµ{¦¡
2.VBA¤ÀªR¤u¨ã½c
3.¤ÀªR¤u¨ã½c

¦æ¨Æ¾äML089.rar (13.54 KB)

¸É¥R
®æ¦¡¤Æ±ø¥ó B3
=(B3>0)*(0=NETWORKDAYS(B3,B3,OFFSET($K$2,,,COUNT($K:$K))))
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_ 9# ML089

¡@­ì¨Ó¬O¥Î³o­Ó¨¤«×¤Á¤J¡A§Ú§¹¥þÀ´¤F~ÁÂÁ±z¡I

TOP

¦^´_ 8# phoebegin


1. ¦æ¨Æ¾ä¤ºªº¤é´Á­n§ï¬° ¤é´Á Åã¥Ü ¤é¡A§A¥Ø«e¬O 1,2,3,....
2. ³o¼Ë¦b®æ¦¡¤Æ¤W¨Ï¥Î NETWORK( Àx¦s®æ,Àx¦s®æ,Àx¦s®æ,holidays) = 0ªí¥Ü¬°«D¤u§@¤é´NÅã¥ÜÃC¦â
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_ 4# ML089


    ¦A½Ð±Ð±z¥ý«e«üÂIÃö©óÃC¦â¶ñº¡ªº³¡¥÷¡A³]©w®æ¦¡¤Æ±ø¥ó¡A½Ð±Ð­n¦p¦ó³]©w©O¡H

TOP

¦^´_ 6# phoebegin

¹ïªº¡A
NETWORKDAYS(start_date,end_date,holidays)¡A¤¤ªºholidays¤@¯ë¥H¤@Äæ¤é´Á¤Î¤@Ä满©ú«Ø¥ß¡Aholidays¤Þ¥Îªº¬O¤é´ÁÄæ¡Aº¸¥B¦@¥Î¤½¦¡¤~¯à²Î¤@¡C
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_ 4# ML089


    ¤£¦n·N«ä¡ã§ÚÀ´±zªº·N«ä¤F¡A¥L¥i¥HÅý§Ú³]©w¤@¾ã¦~ªº¯S§O°²¤é¡A¦b¨C­Ó¤ëªº¤u§@¤é³]©wNETWORKDAYS(start_date,end_date,L9:N13)§Y¥i¹ï§a¡I
¡@ ÁÂÁ±z~

TOP

        ÀR«ä¦Û¦b : ¯¸¦b¥b¸ô¡A¤ñ¨«¨ì¥Ø¼Ð§ó¨¯­W¡C
ªð¦^¦Cªí ¤W¤@¥DÃD