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

Ãö©óweeknum¨Ï¥Î­­¨î?

Ãö©óweeknum¨Ï¥Î­­¨î?

¥»©«³Ì«á¥Ñ vvcvc ©ó 2012-2-21 14:46 ½s¿è

§Ú¦b¤pÀ°¤â¨º¸Ì¬d¨ì³o­Ó¨ç¦¡
¥»·Q¨Ï¥Î¥L¨Ó°µ¶g²Î­pªº¤ñ¹ï¥[Á`
¦ý¨S·Q¨ì³s¨Ï¥Î½d¨Ò³£¥u·|¥X²{#NAME?
¤£ª¾¬O¤£¬O¦³¤°»ò¨Ï¥Î­­¨î?
(W01ªº¤½¦¡¥Ø«e¥X²{¿ù»~¡A¬G°£¤Fweeknumªº°ÝÃD¡AÁÙ¤£ª¾¹D¬O¤£¬OÁÙ¦³¨ä¥L°ÝÃD¦s¦b)

ªþ¥ó©|¦³¤@­Ó°ÝÃD¡A§ÚÀx¦s®æ©¹¥k©Ô³Ì¦h¥u¯à©Ô¨ì9/11
°£¤F§ï¦¨ª½¦¡¥H¥~­n«ç¼Ë¤~¯à¦AÂX®i?
«ç¼Ë¤~¯à©Ôº¡¤@¾ã­Ó¦~«×?

¤½¥qªº¹q¸£¥u´£¨Ñoffice 2003ª©¡A©Ò¥H®a¤¤¤]°t¦X¨Ï¥Î2003ª©
¬G§Æ±æ¤j®a´£¨Ñªº¤èªk¬O¥i¥H¦b2003ª©¹ê²{ªº¤è¦¡
Book1.rar (6.37 KB)

¥»©«³Ì«á¥Ñ vvcvc ©ó 2012-4-7 00:24 ½s¿è

¦b³o­Ó°ÝÃDªºÀɮפ¤¨ä¹êÁÙ¦³¤@­Ó¤À­¶¥Î¨Ó¿é¤Jraw data
¦b¨C¤@¤Ñªº¸ê®Æ²Î­p®æ¤l¸Ì¥Îªº¤½¦¡¦p¤U
=SUMPRODUCT((µn°Oªí!$I$6:$I$9999=$B97)*(µn°Oªí!$N$6:$N$9999=--(LEFT(E$16,1))))
$I$6:$I$9999¬Oraw data¤¤¤é´ÁÄæ¦ì¡A¥Î¨Ó©M­pºâªº¤À­¶¤ñ¹ï¤é´Á¥H­pºâ¦¸¼Æ
¤µ¤Ñµo²{¤@­Ó°ÝÃD
¦pªG§Ú$I$6:$I$9999ªº¤é´Á¦]¦P¤@¤Ñ­nµn°O¦hµ§°O¿ý
©ó¬O¥¼¤@®æ¤@®æ¶ñ¤J¤é´Á¦Ó¬Oª½±µ±N¸ê®Æ¦V¤U©Ô
¨Ï¥Î¤W¤èªº¤½¦¡´N·|»{¤£¥X¤U©ÔªºÄæ¦ì
­Y¤@®æ¤@®æ¿é¤J«h¨S¦³°ÝÃD

³o¬O¤°»ò­ì¦]?
­ì¥»¥H¬°¦b$I$6:$I$9999«e¥[¤@­Ódatevalue§â¨º¨ÇÀx¦s®æªº­È±j­¢Âন¤é´Á¨Ó¸òBÄ檺¤é´Á¤ñ¹ï
¦ý¦ü¥G¬O¦]¬°datevalue¤£¬O°}¦C¤½¦¡¦Ó¥¢±Ñ
¦³¤°»ò¤èªk¥i¥H¸Ñ¨M¶Ü?

TOP

¦^´_ 13# vvcvc


$J$2-WEEKDAY($J$2)±Àºâ¥X²Ä¤@©Pªº°_©l¤é´Á¥»¦~«×°_ºâ¤é
$J$2:$J$367-($J$2-WEEKDAY($J$2))·í¤é¤é´Á´î¥h¥»¦~«×°_ºâ¤é
($J$2:$J$367-($J$2-WEEKDAY($J$2))-1)±q°_ºâ¤é¦Ü·í¤é¸g¹L´X¤Ñ¡A¬°¤F»P7¾ã°£·|±o¨ì0©Ò¥H¥[1
INT(($J$2:$J$367-($J$2-WEEKDAY($J$2))-1)/7)»P7¬Û°£«á¨ú¾ã¼Æ
¾ã¼Æ¦b²Ä¤@©P·|¬°0¡A¥Ñ¦¹±Àºâ¥[1¥H«á¤~¬O¥¿½TWEEKNUM
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¤£¤ÓÀ´¬°¤°»ò­n¥ý´î1¦A°£7
¤§«á«o¤S­n¦A¥[1
¥i§_¸ÑÄÀ?

TOP

¦^´_ 9# gong

³o­Ó¤èªk¨ÃµLªk¨ú±o¯u¥¿WEEKNUM
¥u¬O±q·í¦~1/1¤é°_ºâ¨C7¤Ñ¬°¤@©Pªººâªk
¸Õ¸Õ
B18=SUMPRODUCT(((INT(($J$2:$J$367-($J$2-WEEKDAY($J$2))-1)/7)+1)=ROW($A1))*(K$2:K$367))
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

gongª©¥DB18ªºµª®×
¤µ¦~­è¦n1/1¦bW01ªº²Ä¤@¤Ñ¡A©Ò¥HW01¦³7¤Ñ
©ú¦~W01¥u¦³6¤Ñ
³o¼Ë©ú¦~¬O¤£¬O´N­n­«·s­×§ï­pºâ¦¡?

TOP

¥»©«³Ì«á¥Ñ vvcvc ©ó 2012-2-22 01:06 ½s¿è

¤S¦h¤@©Û¡A¤GºØ¤è¦¡¸Õ¹L³£¦¨¥\
¦ý³Ì«áª©­±°µ¦¨¤@¾î¤@ª½
¥ý¨Ó¬ã¨s¤G¦ìªº¸Ñµª¦A¦Û¦æ­×§ï¦¨¦Û¤v»Ý­nªº
·PÁ«ü¾É

gongª©¥Dªº¤½¦¡¤¤­n¤p¤p­×§ï¤@­Ó¼Æ¦r¡A¤@©u¥u¦³3­Ó¤ë¡AÀ³¸Ó­n°£¥H3¤~¹ï
b2
=SUMPRODUCT((ROUNDUP(TEXT($J$2:$J$367,"m")/3,0)=(--RIGHT($A2,1)))*K$2:K$367)

TOP

b18
=SUMPRODUCT((--(INT(($J$2:$J$367-DATE(2012,1,1))/7)+1)=(--(RIGHT($A18,2))))*(K$2:K$367))
ª¾¤§¬°ª¾¤§¡A¤£ª¾¬°¤£ª¾¡A¸Û¹ê¤]¡I

TOP

b2
=SUMPRODUCT((ROUNDUP(TEXT($J$2:$J$367,"m")/4,0)=(--RIGHT($A2,1)))*K$2:K$367)

b6
=SUMPRODUCT((TEXT($J$2:$J$367,"mmm")=$A6)*K$2:K$367)
ª¾¤§¬°ª¾¤§¡A¤£ª¾¬°¤£ª¾¡A¸Û¹ê¤]¡I

TOP

¦^´_ 6# vvcvc

©u,¤ëªº¤½¦¡«e­±¤w»¡©ú¹L¤F

§ïª½¦¡«á­×¥¿¦p¤U
B2=SUM(INDIRECT(ADDRESS(ROW()*3,COLUMN())&":"&ADDRESS(ROW()*3+2,COLUMN()),1))
B6=SUMPRODUCT((MONTH($J$2:$J$400)=ROW()-5)*K$2:K$400)

TOP

        ÀR«ä¦Û¦b : ¨C¤ÑµL©Ò¨Æ¨Æ¡A¬O¤H¥Íªº®ø¶OªÌ¡A¿n·¥¡B¦³¥Î¤~¬O¤H¥Íªº³Ð³yªÌ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD