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

[µo°Ý] ¦p¦ó¦b¤j¶q¸ê®Æ¤¤´M§ä¸ê®Æ¦³§_­«½Æ¥X²{

[µo°Ý] ¦p¦ó¦b¤j¶q¸ê®Æ¤¤´M§ä¸ê®Æ¦³§_­«½Æ¥X²{

¥»©«³Ì«á¥Ñ enoch ©ó 2014-12-30 11:37 ½s¿è

Àɮפ¤AÄæ¬O B, CÄ檺¦X¨Ö,  
DÄæ¬O¥Î¤½¦¡=Countif(A:A,A1) ¥hÀˬdAÄæ¸ê®Æ¬O§_¤j©ó1 (¸ê®Æ­«½Æ)
¦A¿z¿ïDÄæ¤j¹L1ªº¤º®e
¦ý¥Ñ©ó¸ê®Æ¤Ó¦h(¶W¹L8¸U¦æ), ÀÉ®×·|Åܱo«D±`ºC,

½Ð°Ý¦³¨S¦³¨ä¥¦§ó¦n¤èªk¥i¥H¦b¤j¶q¸ê®Æ¤¤´M§ä¸ê®Æ¦³§_­«½Æ¥X²{
¨Ò¦p¤£»Ý·s¼WAÄæ±NB¤ÎCÄæ¦X¨Ö

countif.zip (6.08 KB)

¦^´_ 1# enoch

§Ú¤]»{¬°tku0216ªº²¾°£­«½Æ¬O¥i¥Hªº
¤£ª¾ª©¤j´ú¸Õ¸ÑªGµ²ªG¦p¦ó??

TOP

DEAR SIR
¸ê®Æ¶q¤j¥ÎVBAÀ³¤ñ¸û§Ö
¦p¤U·|±N AÄæ¦Û°Ê¨Ì¦³¸ê®Æ¤§¦C¼Æ¨q¥XBÄæ+CÄæ
µM«á DÄæ¦Û°Ê¨q¥X¦³­«ÂФ§Àx¦s®æ¤º®eLIST(¥i¨Ì»Ý¨D§ï¬°¨ä¥LªFªF¨q¥X)

Sub AA()
X = Sheet1.[B65536].End(xlUp).Row
For A = 1 To X
Sheet1.Cells(A, 1) = Sheet1.Cells(A, 2) & Sheet1.Cells(A, 3)
Next
On Error Resume Next
Dim Myarr()
For Each A In Range([A1], [A65536].End(xlUp))
If WorksheetFunction.CountIf(Range([A1], [A65536].End(xlUp)), A) > 1 Then
    If WorksheetFunction.Match(A, Myarr, 0) = 0 Then
    ReDim Preserve Myarr(i)
    Set Myarr(i) = A
    i = i + 1
    End If
End If
Next
[D2].Resize(i, 1) = WorksheetFunction.Transpose(Myarr)
End Sub
ù

TOP

¦^´_ 1# enoch

¸Õ¹L"²¾°£­«½Æ"¥\¯à¶Ü¡H¥L¥i¥H±N¦h¾l¸ê®Æ²¾°£¡A¦b¸ê®Æ¡÷¸ê®Æ¤u¨ã¡÷²¾°£­«½Æ¡C

TOP

        ÀR«ä¦Û¦b : ¤£©È¨Æ¦h¡A¥u©È¦h¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD