- ©«¤l
- 186
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 218
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-11-12
- ³Ì«áµn¿ý
- 2014-4-15
|
¥»©«³Ì«á¥Ñ Bodhidharma ©ó 2013-6-4 14:30 ½s¿è
¦^´_ 6# ML089 - =IF(A2="","",MAX(MMULT(TRANSPOSE(((COLUMN(INDIRECT("C1:C"&F2-E2+1,))+E2-1)>=E$2:E2)*((COLUMN(INDIRECT("C1:C"&F2-E2+1,))+E2-1)<=F$2:F2)),E$2:E2^0)))
½Æ»s¥N½X ³oÓ¤½¦¡¯u¬O¤F¤£°_¡A§Ú·íªì¤]¸Õ¹Ï¼gÃþ¦üªºªF¦è¡A¦ý¬O«ç»ò³£Âण¹L¨Ó¡A©Ò¥H¥u¦n¶È³B²z³Ì«á¤@Ó¿é¤Jªº¸ê®Æ
µ§°O¡G- COLUMN(INDIRECT("C1:C"&F2-E2+1,))
½Æ»s¥N½X ¡G¨Ï¥ÎR1C1®æ¦¡¡A·|±o¥X{1,2,3¡Kn}ªº1*n³æ¦C¯x°}¡An=¸Ó¤é´Á°Ï¶¡ªº¤Ñ¼Æ¡A¦A+E2-1¡A§Y¬O¸Ó¤é´Á°Ï¶¡©Ò¦³¤é´Áªº³æ¦C¯x°}- (COLUMN(INDIRECT("C1:C"&F2-E2+1,))+E2-1)>=E$2:E2
½Æ»s¥N½X ¡A«e±¬O³æ¦C¯x°}¡A«á±¬O³æÄæ¯x°}¡A°²³]¸Ó¤½¦¡¤U©Ô¨ì²Äk+1¦C¡A§Y·|¬O{Day1,Day2,¡K,Dayn}>={E2;E3;¡K;Ek+1}¡A·|±o¥X¤@Ók¦CnÄ檺¯x°}¡A{X11,X12,¡K,X1n;X21,X22,¡K,X2n;X31,¡K,;¡KXk1,Xk2,¡KXkn}
XknªºÈ§Y¬O¡u¸Ó¤é´Á°Ï¶¡ªº²Än¤Ñ¡A¬O§_¤j©óµ¥©ó(±q«e©¹«áºâ)²ÄkÓ¶}©l¤é´Á¡v- COLUMN(INDIRECT("C1:C"&F2-E2+1,))+E2-1)<=F$2:F2
½Æ»s¥N½X ¤@¼Ëªº¹D²z¡A±o¥Xk¦CnÄ檺¯x°}{Y11,Y12,¡K,Y1n;Y21,Y22,¡K,Y2n;Y31,¡K,;¡KYk1,Yk2,¡KYkn}
YknªºÈ§Y¬O¡u¸Ó¤é´Á°Ï¶¡ªº²Än¤Ñ¡A¬O§_¤p©óµ¥©ó(±q«e©¹«áºâ)²ÄkÓµ²§ô¤é´Á¡v
X*Y±o¥X{Z11,Z12,¡K,Z1n;Z21,Z22,¡K,Z2n;Z31,¡K,;¡KZk1,Zk2,¡KZkn}¡AZkn§Y¬O¡u¸Ó¤é´Á°Ï¶¡ªº²Än¤Ñ¡A¬O§_¦s¦b©ó(±q«e©¹«áºâ)²ÄkÓ¤é´Á°Ï¶¡¤¤¡v
²{¦b»Ýn{Z11+Z21+¡K+Zk1,Z12+Z22+¡K+Zk2,¡K,Z1n+Z2n+¡K+Zkn}ªº¯x°}¡A´N¬O¡u¸Ó¤é´Á°Ï¶¡ªº²Än¤Ñ¡A¦b(±q«e©¹«áºâ)²ÄkÓ¤é´Á°Ï¶¡¤¤¥X²{ªº¦¸¼Æ¡v¦pªG³onÓȤ¤¦³¥ô·N¤@Ó¤j©ó3¡A§Y¤£²Å¦XÅçÃҼзǡC
n»s³y³oÓ¯x°}¦³¨âºØ¤è¦¡¡A¤@ºØ¬O»s³y¤@Ó1*kªº³æ¦ì¯x°}¸òk*nªºZ¯x°}¬Û¼¡A§Y¥i±o¥X³æ¦C¯x°}¡A¤]´N¬O- MMULT(TRANSPOSE(E$2:E2^0),((COLUMN(INDIRECT("C1:C"&F4-E4+1,))+E4-1)>=E$2:E4)*((COLUMN(INDIRECT("C1:C"&F4-E4+1,))+E4-1)<=F$2:F4))
½Æ»s¥N½X ¥t¥~¤@ºØ¤è¦¡¬O¥ý±Nk*nªºZ¯x°}Âà¸m¬°n*k¡A¦A¼¤@Ók*1ªº³æ¦ì¯x°}¡A«h·|±o¥X¤@Ó³æÄæ¯x°}¡C¦]¬°§ÚÌ»Ýnªº¥u¬O¯x°}ªº³Ì¤jÈ¡A¦]¦¹³æ¦C¯x°}©Î³æÄæ¯x°}³£¥i¥H¡A¦]¦¹´N¦³ì¤½¦¡- MAX(MMULT(TRANSPOSE(((COLUMN(INDIRECT("C1:C"&F2-E2+1,))+E2-1)>=E$2:E2)*((COLUMN(INDIRECT("C1:C"&F2-E2+1,))+E2-1)<=F$2:F2)),E$2:E2^0))
½Æ»s¥N½X ¦³ºØ§â°ª¤¤¯x°}¼ªk«·s®³¥X¨Ó·Å²ßªº·Pı¡K¡K |
|