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

¸ó¤u§@ªíLINK(Ū¨ú)¬Y­Ó«ü©w¦ì¸mªº­È¡A¦³Â²³æªº¤èªk¶Ü

ÀÉ®×Äæ¦ìN~AE¡G¬Oºâ¶O¥Î¤ÀÅuªº¤ë¥÷(ºâÀY¤£ºâ§À)¡A¶W¹L12(§YYÄæ)¡A´Nºâ¬O¹j¦~(¥»°Ó«~³Ì¦hµo¦æ6­Ó¤ë¡A©Ò¥H¤~¦³13¤ë~18¤ë)
==>³æ¤@Àx¦s®æ¤½¦¡¤Ó¦h¡AÀˮ֫ܨ¯­W·|º|¡A¥B¨C´«¤@¦C¡A°lºî¦C´N­n°ÊºAÅÜ°Ê

Àɮצp¤Uºô§} : ­n¤U¸ü¨ì­Ó¤H¹q¸£¤~¯à¬Ý~
https://docs.google.com/file/d/0BytNKnm2laTvQXFaQUE2bTNRRlNXMThwQjFFOVlNR0gzTFF3/edit?usp=sharing

TOP

ÀÉ®×Äæ¦ìN~AE¡G¬Oºâ¶O¥Î¤ÀÅuªº¤ë¥÷(ºâÀY¤£ºâ§À)¡A¶W¹L12(§YYÄæ)¡A´Nºâ¬O¹j¦~(¥»°Ó«~³Ì¦hµo¦æ6­Ó¤ë¡A©Ò¥H¤~¦³ ...
u7490074 µoªí©ó 2014-9-30 15:30



¹ï¤F,¦]¬°³o¼Ëªøªº¤½¦¡¡öµLªG¦A¥[¤WINDIRECT("M"&ROW())«h¦]¬°¤½¦¡¤Óªø·|³QEXCEL©Úµ´¦A­×§ï~~~§xÂZ¥B¤£¦n½s­×~~


¡iR13Àx¦s®æ¡j
=IF(AND(R12<=12,DATE(YEAR(INDIRECT("$b"&ROW())),MONTH(INDIRECT("$b"&ROW()))+1,)=DATE(YEAR(INDIRECT("$b"&ROW())),R12+1,)),ROUND($H13*($L13/$G13),0),IF(AND(R12<=12,DATE(YEAR(INDIRECT("$c"&ROW())),MONTH(INDIRECT("$c"&ROW()))+1,)=DATE(YEAR(INDIRECT("$b"&ROW())),R12+1,)),ROUND($H13*($M13/$G13),0),IF(AND(R12>12,DATE(YEAR(INDIRECT("$C"&ROW())),MONTH(INDIRECT("$C"&ROW()))+1,)=DATE(YEAR(INDIRECT("$b"&ROW()))+1,(R12-12)+1,)),ROUND($H13*($M13/$G13),0),0)))+IF(AND(R12<=12,DATE(YEAR(INDIRECT("$b"&ROW())),MONTH(INDIRECT("$b"&ROW()))+1,)<DATE(YEAR(INDIRECT("$b"&ROW())),R12+1,),DATE(YEAR(INDIRECT("$b"&ROW())),R12+1,)<DATE(YEAR(INDIRECT("$C"&ROW())),MONTH(INDIRECT("$C"&ROW()))+1,)),ROUND($H13*(DAY(DATE(YEAR(INDIRECT("$C"&ROW())),R12+1,))/$G13),0),)+IF(AND(R12>12,DATE(YEAR(INDIRECT("$b"&ROW())),MONTH(INDIRECT("$b"&ROW()))+1,)<DATE(YEAR(INDIRECT("$b"&ROW()))+1,(R12-12)+1,),DATE(YEAR(INDIRECT("$b"&ROW()))+1,(R12-12)+1,)<DATE(YEAR(INDIRECT("$C"&ROW())),MONTH($C13)+1,)),ROUND($H13*(DAY(DATE(YEAR($B13)+1,(R12-12)+1,))/$G13),0),0)

TOP

¦^´_ 12# u7490074

ÀɮקڬݤF¡A¦ý¨S¦³¬Ý¨ì¨Ï¥Î INDIRECT("M"&ROW())ªº¥Øªº¡AµL±q¤F¸Ñ¤Î»¡©ú¡A¬O§_¦b¦A¸É¥R¤@¤U
¨Ï¥Î­ì¤½¦¡¤¤¨Ï¥Î INDIRECT("M"&ROW()) ³oºØ¤èªk¤Ó½ÆÂø

§A¥i¥H±N­ì¥ý¤½¦¡¤¤»Ý­nªº6­ÓÀx¦s®æ¤À§O¥Î¤Þ¥Î
R1 = 13
R2 = INDIRECT("B"&R1)
R3 = INDIRECT("C"&R1)
R4 = INDIRECT("G"&R1)
R5 = INDIRECT("H"&R1)
R6 = INDIRECT("L"&R1)
R7 = INDIRECT("M"&R1)
¦A±NR2~R7±a¤J¤½¦¡¤¤
§A¤]¥i¥H¥ý½Æ»sªí®æ¡A¥Î °Å¤U/¶K¤W ªº¤è¦¡¨Ó²¾°Ê B13¡BC13...L13¡BM13¡A¤½¦¡´N¯à¦Û°Ê§ïÅÜ¡A¦A±N¤½¦¡¤º®e½Æ»s§A­nªº¦a¤è¡C
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¥»©«³Ì«á¥Ñ ML089 ©ó 2014-10-1 10:37 ½s¿è

¦^´_ 12# u7490074
N13
=IF(AND(N$12<=12,DATE(YEAR($B13),MONTH($B13)+1,)=DATE(YEAR($B13),N$12+1,)),ROUND($H13*($L13/$G13),0),IF(AND(N$12<=12,DATE(YEAR($C13),MONTH($C13)+1,)=DATE(YEAR($B13),N$12+1,)),ROUND($H13*($M13/$G13),0),IF(AND(N$12>12,DATE(YEAR($C13),MONTH($C13)+1,)=DATE(YEAR($B13)+1,(N$12-12)+1,)),ROUND($H13*($M13/$G13),0),0)))+IF(AND(N$12<=12,DATE(YEAR($B13),MONTH($B13)+1,)<DATE(YEAR($B13),N$12+1,),DATE(YEAR($B13),N$12+1,)<DATE(YEAR($C13),MONTH($C13)+1,)),ROUND($H13*(DAY(DATE(YEAR($C13),N$12+1,))/$G13),0),IF(AND(N$12>12,DATE(YEAR($B13),MONTH($B13)+1,)<DATE(YEAR($B13)+1,(N$12-12)+1,),DATE(YEAR($B13)+1,(N$12-12)+1,)<DATE(YEAR($C13),MONTH($C13)+1,)),ROUND($H13*(DAY(DATE(YEAR($B13)+1,(N$12-12)+1,))/$G13),0),0))


N13¤½¦¡¥i¥H²¤Æ¡A¥u»Ý­n °_¤é´Á/¨´¤é´Á/§Q®§Á`¶O¥Î¤Î¤ë¼Æµ¥¸ê®Æ´N¥i¥H­pºâ

=ROUND($H13/($C13-$B13)*FREQUENCY(ROW(INDIRECT($B13&":"&$C13-1)),DATE(YEAR($B13),N$12+1,)),) - SUM($M13:M13,-$M13)

¨C¤ë§Q®§¶O¥Î·|¥|±Ë¥î¤J¡A»~®t²Ö¿n¶W¹L1¤¸®É¸Ó¤ë·|¼W¥[1¤¸
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_ 12# u7490074


    AG13ÅçÃÒ¦X­p³o¼Ë¼g·|¦³°ÝÃD¡A¦]¬°EXCELÀx¦s®æ¥i¥H®æ¦¡¤Æ¬°¾ã¼Æ¦ý¨ä¹ê¬O¦³§t¤p¼Æªº¼Æ¦r¡A¥ÎSUM(....)ªºÁ`¼Æ·|¹ï¡A¦ý¥Î²´·ú¬Ý¥Î­pºâ¾÷­pºâ´N¬O·|¤£¤@¼Ë¡C

±N =SUM(N13:AE13)
§ï¬° =SUMPRODUCT(ROUND(N13:AE13,0))
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_ 14# ML089


    14¼Ó¤½¦¡¨Ï¥Î°}¦C¤è¦¡¤ñ¸ûºC¤@¨Ç¡Aª½±µ¼Æ¾Ç­pºâ¤ñ¸û§Ö

N13
=ROUND($H13/($C13-$B13)*(MAX(0,MIN($C13,DATE(YEAR($B13),N$12+1,1))-$B13)),) - SUM($M13:M13,-$M13)

¤½¦¡ = ¥|±Ë¥î¤J¦Ü¾ã¼Æ( Á`§Q®§/Á`¤Ñ¼Æ * (°_¤é´Á¦Ü¦U¤ë©³¤Ñ¼Æ) ) - «e­±ªº§Q®§¦X­p
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_  u7490074

ÀɮקڬݤF¡A¦ý¨S¦³¬Ý¨ì¨Ï¥Î INDIRECT("M"&ROW())ªº¥Øªº¡AµL±q¤F¸Ñ¤Î»¡©ú¡A¬O§_¦b¦A¸É¥R ...
ML089 µoªí©ó 2014-10-1 09:05



INDIRECT("M"&ROW())©ÎINDIRECT("b"&ROW())©ÎINDIRECT("c"&ROW())...µ¥ : §¡¬O¦Ò¶q¦bN13Àx¦s®æ««ª½¤U©Ô®É¡A¦C¸¹·|ÅÜ¡A¤~¥Î³o¼Ëªº¤g¤è¦¡°Õ~

TOP

¦^´_ 17# u7490074

§A³o»¡©ú¬O¨ç¼Æ»¡©ú¡A§Úª¾¹D¡C
¦pªG¥u¬O= INDIRECT("M"&ROW()) ¤U©Ô¡A¬O§_±Ä¥Î =M13 ¤U©Ô®ÄªG¤@¼Ë   

¨Ò¦p
N13 =INDIRECT("M"&ROW())
N13 =M13
¥H¤W¨â¦¡¤U©Ô®ÄªG¬Û¦P¡A·íµM±Ä¥Î N13 =M13

¤@¯ë¨Ï¥Î
A2 ¿é¤J§A­nªº¦C¸¹¡A¨Ò¦p 13
B2 =INDIRECT("B"&A2) °_¤é
C2 =INDIRECT("C"&A2) ¨´¤é
D2 =INDIRECT("H"&A2) §Q®§
E2 ¿é¤J§Aªº¤½¦¡¡AB2¡BC2¡BD2´N¬O§Aªº¤½¦¡¸Ì°Ñ¼Æ
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_  u7490074

§A³o»¡©ú¬O¨ç¼Æ»¡©ú¡A§Úª¾¹D¡C
¦pªG¥u¬O= INDIRECT("M"&ROW()) ¤U©Ô¡A¬O§_±Ä¥Î =M13 ¤U ...
ML089 µoªí©ó 2014-10-1 14:34



©çÁ°Õ~À³¸Ó ¬O»¡= INDIRECT("M"&ROW()) ¬O­n©T©w¨C¦C¥ÎmÄæÀx¦s®æ¡A»P¤ô¥­¥Ñ1¤ë(n13)©ì¦²¨ì18¤ë®É¡A¯à§Q¥ÎROW()©T©w§ä¸Ó¦CªºmÀx¦s®æ(§Ym13)

¦pªG¡Gª½±µ¼gN13=M13¡A«h©ì¦²¨ìO13®É¡A«hO13=N13¡A¦Ó«DO13¤´=M13°Õ~~«e­±»¡©ú¼g¿ù¤F~

TOP

¦^´_ 19# u7490074

©çÁ°Õ~À³¸Ó ¬O»¡= INDIRECT("M"&ROW()) ¬O­n©T©w¨C¦C¥ÎmÄæÀx¦s®æ¡A»P¤ô¥­¥Ñ1¤ë(n13)©ì¦²¨ì18¤ë®É¡A¯à§Q¥ÎROW()©T©w§ä¸Ó¦CªºmÀx¦s®æ(§Ym13)

¦pªG¡Gª½±µ¼gN13=M13¡A«h©ì¦²¨ìO13®É¡A«hO13=N13¡A¦Ó«DO13¤´=M13°Õ~~«e­±»¡©ú¼g¿ù¤F~


­n¤ô¥­¥k©Ô =$M13 ©T©w M ¤£°Ê
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

        ÀR«ä¦Û¦b : §Ú­Ì­n°µ¦nªÀ·|ªºÀô«O¡A¤]­n°µ¦n¤º¤ßªºÀô«O¡C
ªð¦^¦Cªí ¤W¤@¥DÃD