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

[µo°Ý] §ä¥X¦U¸s²Õªº²³¼Æ(¤£§t0)

¦^´_ 43# Bodhidharma


bin_array ¤£¥Î±Æ§Ç¡A­Y¦³­«½Æ¼Æ®É¡A­pºâ­È·|¼Ðµù©ó²Ä¤@¦¸¥X²{¤§¼Æ¦ì¸m¨ä¥L¬°0
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_ 43# Bodhidharma

µy·L¼ÒÀÀ¤F¤@¤U¡A¸Õ¤F¤@¨Ç¼Æ¦r¡A¬Ý°_¨ÓÀ³¸Ó¬O¥¿½Tªº
(Ãi±o¥Î°ÊºA½d³ò¡A¦]¦¹§â¥i¿é¤Jªº¸ê®Æ­­©w¦b100¦C¥H¤º)

frequency¨ç¼Æ¼ÒÀÀ.rar (10.37 KB)

TOP

¦^´_ 42# ML089

­è­è´ú¸Õ¤F¤@¤U¡A¤£ª¾¹D³o¼Ëªº²z¸Ñ¥¿¤£¥¿½T¡G
frequency(data_array,bin_array)
­Ydata_arrayªº­È¬°d[1],d[2]...d[n]¡Abin_arrayªº­È¬°b[1],b[2]...b[x]¡A¦^¶Çresult_arrayªº­È¬°r[1],r[2]...r[x+1]
·|¥ý·j´Mbin_array¤¤¡A²Ä¤@­Ó¥X²{³Ì¤pªº­Èmin(bin_array)¡A°²³]²Ä¤@­Ó¥X²{ªº¬°b[y]
«hr[y]=data_array¤¤¤p©óµ¥©ób[y]ªº­Èªº¼Æ¶q
¦Ü©ó¤£¬O²Ä¤@­Ó¥X²{ªºb[y']=min(bin_array)¡Ar[y']ªº­È·|¬O¹s
µM«á¦A·j´Mbin_array¤¤²Ä¤@­Ó¥X²{¡A²Ä¤G¤pªº­Èb[z]
r[z]=data_array¤¤¡A¤p©óµ¥©ób[z]¥B¤j©ób[y]ªº­Èªº¼Æ¶q¡A¨ä¥¦ªºr[z']ªº­È¤@¼Ë¬O¹s
¥H¦¹Ãþ±À¡AµM«ár[x+1]=data_array¤¤¡A¤j©ómax(bin_array)ªº­Èªº¼Æ¶q

TOP

¦^´_ 40# Bodhidharma

1.
¹ï¡A
«eE2¤½¦¡
=IF(B2=B3,INT(N(E3))+1+1/ROW(),"")
¨Ã¨S¦³³B²z"¤£¦P²Õ"©Î¬O"¼Æ­È¬°¹s"ªº±¡ªp¡A¥i¥H§ï¬°
=IF(AND(A2=A3,B2=B3,B2<>0),INT(N(E3))+1+1/ROW(),"")

2.
FREQUENCY¬Ý»¡©ú½T¹ê¤£®e©öÀ´¡A°O±o­è¶}©l¾Ç¦¹¨ç¼Æ®É¤]¦bºô¸ô¤W§ä«Ü¦h¹ê¨Ò¨Ó¤F¸Ñ¡A¤´»Ý°µ°µ¤p¼Ò«¬¤ÏÂФñ¸û®t²§¤~¯à²`¤J¡C

FREQUENCY¨ÃµL »¼¼W©Î»¼´î ªº³W©w
¬O­pºâ¤p©ó©Îµ¥©óbins_array¶¡ªºdata_array¼Æ¶q¡C

¦]¬°ÃD¥Ø­n¨D¦b³sÄò­«½Æ¼Æªº²Ä¤@­ÓÅã¥Ü¨ä­È¡A¦]¼Ð°O¼Æ­n¤j©óµ¥©ódata_array(¸Ó­«½Æ¼Æ°Ï¤º)¡C

¨Ò¦p A1:A9¤¤A4:A6¬O­«½Æ¼Æ {1,2,3,4,4,4,7,8,9}

¤@¦¡
=FREQUENCY(ROW(1:9),ROW(1:9)*(L1:L9<>L2:L10))
={1;1;1;0;0;3;1;1;1;0}

¤G¦¡
=FREQUENCY(-ROW(1:9),-ROW(1:9)*(L1:L9<>L2:L10))
={1;1;3;0;0;1;1;1;1;0}

¨â¦¡³£¥i¥H±o³Ì¤j­«½Æ¼Æ 3¡A¦ý¦ì¸m«o¤£¦P¡C³o´N¬O ROW(1:9) »P -ROW(1:9) ®t¤@­Ó­t¸¹ªº¥Î·N¡C
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_ 40# Bodhidharma
bin_array«D»¼¼W¼Æ­È°}¦C®É
·|¥H¤p©óµ¥©óbin_array°}¦C¤¸¯À¡A¨Ã¦©°£¨ä¾l¤¸¯À¥H­pºâ¹L¤§¤¸¯À§@¬°­pºâ
¨Ò¦p:°}¦C¤¸¯À¤¤¦³­«½Æªº­È¡A¦]¬°¦b²Ä¤@¦¸¥X²{®É¤w¸g­pºâ¹L¸Ó­È¥H¤Uªº¥X²{ÀW²v
©Ò¥H²Ä¤G¦¸¥X²{®É´N·|¦©°£¤w­pºâ¹Lªºµ²ªG

¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦¹ÃD±Ä¥Î««ª½»²§UÄæ ¥i¥H¥Î¤U¦C¤½¦¡¸û¬°Â²³æ

²Ä¤@­Ó³Ì°ª¦¸¼Æªº­È
D2 =IF(ROW()=INT(1%+1/MOD(MAX(OFFSE ...
ML089 µoªí©ó 2013-4-7 11:03


¶â¡A¤@¼Ë©l¥Î int(1%+1/mod(max(­«½Æ¦¸¼Æ+1/©Ò¦b¦C¼Æ),1) ªº­ì²z
«O¯d¤F"­«½Æ¦¸¼Æ"¥H¤Î"¸Ó¦C¦b¾ã­Ó¤u§@ªíªº²Ä´X­Ó¦ì¸m"ªº¸ê°T
¦]¦¹¦b¹ïÀ³ªº®É­Ô¡A´N¤£¥Î¹³§Úªº¤è¦¡offset¥b¤Ñ¡A§ä¡u¸Ó¦C¦b¸Ó²Õªº²Ä´X­Ó¦ì¸m¡v¡A¥i¥Hª½±µ¹ïÀ³¡u¸Ó¦C¦b¾ã­Ó¤u§@ªíªº²Ä´X­Ó¦ì¸m¡v

¤£¹LE2¤½¦¡
=IF(B2=B3,INT(N(E3))+1+1/ROW(),"")
¨Ã¨S¦³³B²z"¤£¦P²Õ"©Î¬O"¼Æ­È¬°¹s"ªº±¡ªp¡A¬O§_À³§ï¬°
=IF(B2>0,IF((A2=A3)*(B2=B3),INT(N(E3))+1+1/ROW(),1+1/ROW()),"") ?

¥t¥~frequency¨ç¼Æ§Ú¤£¬O«Ü¼ô
¥i§_¸ÑÄÀ¤@¤U¡A·íbin_array«D»¼¼W®É­Ô¸Ó¨ç¼Æªº¹Bºâ¹Lµ{¡H

TOP

¦¹ÃD±Ä¥Î««ª½»²§UÄæ ¥i¥H¥Î¤U¦C¤½¦¡¸û¬°Â²³æ

²Ä¤@­Ó³Ì°ª¦¸¼Æªº­È
D2 =IF(ROW()=INT(1%+1/MOD(MAX(OFFSET(E$1,MATCH(A2,A:A,)-1,,COUNTIF(A:A,A2))),1)),B2,"")

»²§UÄæ : ¬O§_³sÄò¥X²{¡A®æ¦¡³]¬°¾ã¼Æ«¬ºA¸û¬°¬üÆ[
E2 =IF(B2=B3,INT(N(E3))+1+1/ROW(),"")

²³¼Æ0407.rar (23.43 KB)
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_ 36# Bodhidharma

¤½¦¡³t«×­n§Ö¡A»Ý­n±N¨C¤@¶µ³£·| ­«½Æ­pºâªº­pºâ¼Æ Åý·Q¿ìªk¥u­pºâ¤@¦¸¡A´N»Ý­n¥Î »²§UÄæ ©Î ©w¸q¦WºÙ¡C

§Ú´£¨Ñªº »²§UÄæ ¤½¦¡¬O±Ä¥Î ÂX¤j½d³ò ¨Ó­pºâ¡A¦pªG ²Õ¶µ «D±`¦h®É¥i¥H±Ä¥Î °ÊºA½d³ò ¨Ó´À¥N¡A¥i¥HÁYµu§ó¦h®É¶¡¡C

©w¸q¦WºÙ ¨ä¹ê¤]¥i¥H¥[§Ö­pºâ¡A¨Ã«D¨Ï¥Î ©w¸q¦WºÙ ´N·|ÅܺC¡A¨Ò¦p¤@­Ó¤½¦¡¤º·|¨Ï¥Î¦n´X¦¸ °ÊºA½d³ò¡A¥Î ©w¸q¦WºÙ ¨Ó³] °ÊºA½d³ò ´N¯à¸`¬Ù¤£¤Ö®É¶¡¡C
­Y ©w¸q¦WºÙ ¬Û¹ï©ó¨C¤@­ÓÀx¦s®æ³£¬O "¤Þ¼Æ" ³£»Ý­n®Ú¾Ú³o¨Ç "¤Þ¼Æs"¦¹°µ¤@¹M­pºâ¡A³o®É¤Ï¦Ó·|Åܱo§óºC¡C

¥xºÝ¤W­±ªº¤ÀªR»¡©ú¼gªº«Ü´Î¡AÀ³¸Óµ¹§A¤@­ÓÆg¡C
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_ 36# Bodhidharma
1.³o¼Ë¥i¶Ç¦^¦P¸s²Õ¤ºBÄæ¦U¼Æ­Èªº²Ä¤@¦¸¥X²{ªº¦ì¸m¡A¶Ç¦^¸Ó¼Æ­È¥X²{¦¸¼Æ  
=FREQUENCY(OFFSET($B$1,MATCH($A2,$A:$A,0)-1,,COUNTIF($A:$A,$A2),)*10^0,OFFSET($B$1,MATCH($A2,$A:$A,0)-1,,COUNTIF($A:$A,$A2),)*10^0)
2.³o¼Ë§PÂ_¬O§_BÄæ¼Æ­È¬°³sÄò¥X²{
=(FREQUENCY(INDIRECT("RC2:R"&MATCH($A2,$A:$A,0)+COUNTIF($A:$A,$A2)-1&"C2",0)*10^0,INDIRECT("RC2:R"&MATCH($A2,$A:$A,0)+COUNTIF($A:$A,$A2)-1&"C2",0)*10^0)=FREQUENCY(INDIRECT("R[1]C2:R"&MATCH($A2,$A:$A,0)+COUNTIF($A:$A,$A2)-1&"C2",0)*10^0,INDIRECT("R[1]C2:R"&MATCH($A2,$A:$A,0)+COUNTIF($A:$A,$A2)-1&"C2",0)*10^0)+1)
3.CÄæ¥u­n¬O¥H¤W¨â±ø¥ó§k¦X´N¬O¸Ó¸s²Õ³sÄò³Ì¦hªº²³¼Æ
¨â­Ó§PÂ_¦¡¬Û­¼¦A­¼¤WBÄ檺­È¡A´N¯à±o¨ìµª®×
²³¼Æ.rar (12.04 KB)
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥t¥~§Ú¤]¦³«ä¦Ò¬O§_¯à¼W¥[²Õ¦W»P"²³¼Æ"ªº¹ï·ÓÄæ
¤£¹L¦]¬°­ìpoªº¸ê®Æ·|¤@ª½¼W¥[¡A©Ò¥H«ÜÃø¥Î°ÊºAªº¤è¦¡³]©w»²§UÄæ
¦]¦¹«á¨Ó§Ú´N©ñ±ó¤F¡AÁÙ¬O¦^¨ìoffsetªº¤è¦¡¨Ó³B²z
Bodhidharma µoªí©ó 2013-4-7 03:43


¨ä¹ê¤]ÁÙ¦n¡A¥Î
{=IFERROR(INDEX(A:A,SMALL(IF(OFFSET($A$2,,,COUNTA(A:A),)=OFFSET($A$3,,,COUNTA(A:A),),"",ROW(OFFSET($A$2,,,COUNTA(A:A),))),ROW(A1))),"")}
¤§Ãþªº¤½¦¡´N¥i¥H§ì¥X©Ò¦³ªº²Õ¦W
µM«á²³¼Æ¦ì¸m¨ºÄæ¦A§Ë­Ó°ÊºA½d³ò°ò¥»¤W´N²Å¦X­ìpoªº»Ý¨D¤F

TOP

        ÀR«ä¦Û¦b : °ß¨ä´L­«¦Û¤vªº¤H¡A¤~§ó«i©óÁY¤p¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD