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

excel¬O§_¥i¥H¦³ÀH¾÷©â¼úªº¥\¯à

excel¬O§_¥i¥H¦³ÀH¾÷©â¼úªº¥\¯à

¦pªG¦³¥÷¦W³æ²M¥U(¨Ò100¦W)¡A¥i§_±qÀH¾÷²£¥Í

ÀY¼ú1¦W
¶L¼ú2¦W
°Ñ¼ú3¦W
´¶¼ú10¦W
¡ô(¥i¦A½Õ¾ã¼ú¶µ»P¦WÃB)

¥Î rand() ¤½¦¡, ¥Î column B °µ sorting
°²³]¦p¤U¡G
A              B
Name       =Rand()

TOP


¤£¦n·N«ä¡A§Ú¤£ª¾¹D­n«ç»ò¤W¶ÇEXCELÀÉ¡A©Ò¥H¥u¦n¥ý¶K¹Ï¤W¨Ó¡A§Æ±æ¥i¥H¦A¸É¥R§Ú¤å¦r»¡©ú¤£¨¬ªº¦a¤è¡A
¼Ó¤Wªº¤j¤j±z¦n¡A§ÚÁÙ¬O¤£¤Ó²M·¡±z©Ò´y­zªº¤è¦¡­n¦p¦óÀ³¥Î¡A©Ò¥H¥i¥H¦A³Â·Ð±z¦A¦h¸ÑÄÀ¤@ÂI¶Ü?

TOP

sample.zip (1.82 KB)
«ö "F9" ·|¦Û°Ê§ó·s

TOP

¶ã¶ã¡Aivanyung ¤j¤j¡A§Ú¥Ø«eÁÙ¨S¦³¤U¸üªºÅv­­­C¡A
½Ð°Ý§Ú¯à¨p¤Uµ¹±z§Úªºmail¡A¦A³Â·Ð±z±Hµ¹§Ú¶Ü@"@?

TOP

¶ã¶ã¡Aivanyung ¤j¤j¡A§Ú¥Ø«eÁÙ¨S¦³¤U¸üªºÅv­­­C¡A
½Ð°Ý§Ú¯à¨p¤Uµ¹±z§Úªºmail¡A¦A³Â·Ð±z±Hµ¹§Ú¶Ü@"@?
emma µoªí©ó 2010-8-3 13:53



    ³o¸Ì­­¨î¯u¤j.... §Ú¥Ø«e¨S¦³Åv­­µoµu®ø®§ ...

TOP

¥»©«³Ì«á¥Ñ emma ©ó 2010-8-3 17:13 ½s¿è



ivanyung¤j¤jÁÂÁ±z¡A¦ý¥i§_¦A½Ð±Ð¤@¤U¡A¦pªG¦A½ÆÂøÂI¡A

¨Ò¦p¦P¤@¦ì³Q©â¼ú¤H¦pªG¾Ö¦³¦h¦¸³Q©â¼úªº¾÷·|¡A

¦³¨S¦³¹³·sªþ¤Wªº¹ÏÀɳoºØ¤è¦¡³Q©â¼ú©O?

¥HÁ|¨Ò¤è¦¡»¡©úªº¸Ü¡A´N¬O¦p¦³a¡Bb¡Bc¤T¤H°Ñ»P©â¼ú

a¦³5¦¸¤¤¼ú¾÷·|

b¦³10¦¸¤¤¼ú¾÷·|

c¦³1¦¸¤¤¼ú¾÷·|

¤@¼ËÀH¾÷©â¥X¤T­Ó¼ú¶µ¡A¥i¥H¨Ìa¡Bb¡Bc©Ò³]©wªº¤¤¼ú¾÷·|
Äæ¦ì¤U¥h²£¥Í¶Ã¼Æ©â¼ú¶Ü?

TOP

¥Î³Ì²³æªº¤èªk
¦pªG:
a¦³5¦¸¤¤¼ú¾÷·|
b¦³10¦¸¤¤¼ú¾÷·|
c¦³1¦¸¤¤¼ú¾÷·|

ID ©m¦W
1 a
1 a
1 a
1 a
1 a
2 b
2 b
2 b
2 b
2 b
2 b
2 b
2 b
2 b
2 b
2 b
3 c

TOP

aÄæ©m¦Wa001-a100
b1=rand()¤U©Ô¦Üb100
c1=rank(b1,b1:b100)
ÀY¼ú1¦W=index(a1:a100,match(1,c1:c100,0))
¶L¼ú2¦W=index(a1:a100,match(2,c1:c100,0)),index(a1:a100,match(3,c1:c100,0))
°Ñ¼ú3¦W
´¶¼ú10¦W
°Ñ¼ú¥H¤UÃþ±À
ª¾¤§¬°ª¾¤§¡A¤£ª¾¬°¤£ª¾¡A¸Û¹ê¤]¡I

TOP

¦pªG­n¤£¦P¤H¦³¤£¦P©â¼ú¾÷·|,¦p¦~¸ê¨Cº¡¤@¦~¼W¥[¤@¦¸©â¼ú¾÷·|
§Ú¤ä«ù8¼Óivanyung
ªº°µªk

¨ì©³¬O¤â¤u°µÁÙ¬O¨ç¼Æ§@¨º­n¬Ý§Aªº»Ý¨D
¥Î¨ç¼ÆÁٻᦳ¬D¾Ô©Êªº
§Ú¤£ª¾¬O§_·|°µ,­n·Q·Q¬Ý,¥ý³o¼Ë¦³»Ý¨D¦A»¡
ª¾¤§¬°ª¾¤§¡A¤£ª¾¬°¤£ª¾¡A¸Û¹ê¤]¡I

TOP

        ÀR«ä¦Û¦b : ¡i®É¶¡µLªk¾B¾×¡j©È®É¶¡®ø³u¡Aªá¤F³\¦h¤ß¦å¡A·QºÉ¦U¦¡¤èªk­n¾B¾×®É¶¡¡Aµ²ªG¬O¡G®ö¶O¤F§ó¦h®É¶¡¡A¥B¤@µL©Ò¦¨¡I
ªð¦^¦Cªí ¤W¤@¥DÃD