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

[µo°Ý] ¼Æ¦r¦U¨ú1

¦^´_ 12# samwang
´ú¸Õ¦¨¥\ !
°õ¦æ®Ä²vÀu¤Æ³\¦h~¥u¥i±¤¡A§Ú¤@ª½·d¤£À´Arr©MBrr­n«ç»ò³]¥ß½d³ò©M¹Bºâ?
©Ò¥H¹J¨ì¦h­ÓSheet(s)ªº½d³ò­n¹Bºâ´N¤@Äw²ö®i
·PÁ±z¤@¦AªºÀ°¦£~·P®¦

TOP

¦^´_ 11# ziv976688

½Ð´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ

Private Sub CommandButton1_Click()
Dim Arr, xD, s%, Tm, a%, i&, j&
Set xD = CreateObject("Scripting.Dictionary")
Tm = Timer
Application.ScreenUpdating = False '¦b­I´º¤U°õ¦æ
   For s = 1 To 6   '6­Ó¤u§@ªí
        Shrr = Array("·Ç2¶i3", "·Ç3¶i4", "·Ç4¶i5", "·Ç5¶i6", "·Ç6¶i7", "·Ç7¶i8")
        With Sheets(Shrr(s - 1))
            Arr = .Range("d1:j" & .[b65536].End(3).Row)
            For i = 2 To UBound(Arr)
                For j = 1 To UBound(Arr, 2)
                    If Arr(i, j) <> "" Then
                        If InStr(Arr(i, j), ",") Then
                            For w = 0 To UBound(Split(Arr(i, j), ","))
                            a = Split(Arr(i, j), ",")(w): xD(a) = ""
                            Next
                        Else
                            xD(Arr(i, j)) = ""
                        End If
                    End If
                Next
            Next
            If xD.Count > 0 Then
                For i = 1 To xD.Count: Arr(i, 1) = Application.Small(xD.keys, i): Next
                With .Range("a4").Resize(xD.Count, 1)
                    .NumberFormatLocal = "00": .Value = Arr
                End With
                .[a2] = xD.Count & "­Ó": Erase Arr: xD.RemoveAll
            End If
        End With
   Next
MsgBox Timer - Tm
End Sub

TOP

¥»©«³Ì«á¥Ñ ziv976688 ©ó 2021-7-19 07:02 ½s¿è

¦^´_ 5# ML089
¤£¦n·N«ä¡A§Ú±N¤½¦¡®M¥Î¦bVBA»yªk¤¤~²£¥Í°»¿ù¡C
¥u¬OFREQUENCY©MTRIM©MSUBSTITUTEµ¥¨ç¼Æ¹ï§Ú¨Ó»¡~¤Ó²`¶ø¤F~
®£©È¬O§Ú±N­ì5Äæ39­Ó¸¹½Xªº¶Q¸Ñ¡A®M¥Î¦b7Äæ49­Ó¸¹½X¤½¦¡®É¦³§ï¿ù¤F!¡H
·Ð½Ð±zÀ°§ÚÀ˵ø¤@¤U~ ¦n¶Ü ?
©ÎªÌ½Ð±zª½±µ¥Hµ{¦¡»yªk¸ÑÃD(¦³¬Ý¹L±z¸Ñ¹Lµ{¦¡ÃD )¡C
ÁÂÁ±z
¼Æ¦r¦U¨ú1(Àx¦s®æ¦³,°Ï¹j²Å¸¹)_VBA.rar (96.34 KB)

TOP

¥»©«³Ì«á¥Ñ ziv976688 ©ó 2021-7-10 14:53 ½s¿è

¦^´_ 9# hcm19522
§Ú¦V¤p«Ä(¦~»´¤H¥Îªºª©¥»¤ñ¸û·s)­É2007ª©´ú¸Õ¬Ý¬Ý¡C
·PÁ±zªº½ç±Ð©MÀ°¦£:D

TOP

¥»©«³Ì«á¥Ñ hcm19522 ©ó 2021-7-22 11:17 ½s¿è

https://blog.xuite.net/hcm19522/twblog/589903456
google"EXCEL°g"  blog  ©Îgoogleºô§}:https://hcm19522.blogspot.com/

TOP

¦^´_ 6# ­ã´£³¡ªL
¦h¾Ç²ß¨ì©î¸Ñ¦³°Ï¹j²Å¸¹ªº¼Æ¦r¤§¤½¦¡¡C
·PÁ±zªº«ü¾É©MÀ°¦£

TOP

¥»©«³Ì«á¥Ñ ziv976688 ©ó 2021-7-10 13:21 ½s¿è

¦^´_ 5# ML089
´ú¸Õ1000´Á¡A³æÀx¦s®æ³Ì¦h¥u¨£¹L3­Ó¼Æ¦r¡A©Ò¥H3~5­Ó¨¬°÷¥Î¤F¡C
·PÁ±zªº«ü¾É©MÀ°¦£

TOP

A2//°}¦C:
=TEXT(SMALL(IF(COUNTIF(B:F,TEXT(ROW($1:$39),"!*00!*")),ROW($1:$39),99),ROW(A1)),"[<99]00;")

¼Æ¦r­­1~39
§âa:fÄæ³]¦¨¤å¦r®æ¦¡, ¦A±N³æ¿Wªº¼Æ¦r­«·s¿é¤J¬°¨â¦ì¼Æ, ¦p:05,06

TOP

¦^´_ 1# ziv976688

A2 °}¦C¤½¦¡¡A¦p¤U
=LOOKUP(99,IF({1;0},{0,""},{1,1}*SMALL((FREQUENCY(--(0&TRIM(MID(SUBSTITUTE(B$2:B$33&","&C$2:C$33&","&D$2:D$33&","&E$2:E$33&","&F$2:F$33&",,,,,",",","         "),{0,1,2,3,4}*9+1,9))),ROW($1:$99)-1)=0)*999+(ROW($1:$100)-1),ROW(A2))))
¥H¤TÁä¤è¦¡¿é¤J¤½¦¡(SHIT+CTRL+ENTER)

¤½¦¡­­¨î
¼Æ¦r1~99
B:F¨C¤@¦C¦X¨Ö¤§¼Æ¦r¦ê¼Æ¤]¤£¯à¤Ó¦h(3~5­Ó)¡A¦]¬°¦r¦ê¤À¹j¥u´¡¤J9­ÓªÅ®æ¡A¤]¥i¼W¥[´¡¤JªÅ®æ¨Ó´£°ª¦r¦ê¼Æ¡C
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_ 3# ML089

¬Oªº!·Ð½Ð«ü¾É¡CÁÂÁ±z!

TOP

        ÀR«ä¦Û¦b : ¤@­Ó¤H¤£©È¿ù¡A´N©È¤£§ï¹L¡A§ï¹L¨Ã¤£Ãø¡C
ªð¦^¦Cªí ¤W¤@¥DÃD