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

[µo°Ý] Âà´«¤å¦r§Î¦¡·j´M

[µo°Ý] Âà´«¤å¦r§Î¦¡·j´M

¦p¦ó¥H¤½¦¡±N¤å¦rªº§Î¦¡Âà´«¡AµM«á¥h·j´M¹ï·Óªº®Æ¸¹©O¡H

ÁÂÁÂ

¬¡­¶Ã¯2.rar (10.26 KB)

¦^´_ 1# wayne0303

¤£¦n·N«ä¬Ý¤£¤ÓÀ´¡A¥i§_¸ÑÄÀ¸Ô²Ó¤@ÂI¡AÁÂÁÂ

TOP

¦^´_ 2# samwang

©êºp¡Isamwang¤j

LR220¥õ¨¤25¢XÂà180¢X        ¡÷LR220/25 ¹ï·Óªí®æ¬°¥ªÁ³±Û©³¤Uªº213
RR230¥õ¨¤30¢XÂà180¢X        ¡÷RR230/30 ¹ï·Óªí®æ¬°¥kÁ³±Û©³¤Uªº124
RR230¥õ¨¤20¢XÂà180¢X        ¡÷RR230/20 ¹ï·Óªí®æ¬°¥kÁ³±Û©³¤Uªº122
R390Âà90¢X¡÷R390 ¹ï·Óªí®æ¬°¥­Ås©³¤Uªº318       

¥Î¤½¦¡§ä¥X¹ï·Ó¥X¨Óªº213¡B124¡B122¡B318...³o¨Ç¼Æ¦r

³o¼Ë...¤£ª¾¹D±z¯à¬Ý±oÀ´¶Ü(¦½)

TOP

¦^´_ 3# wayne0303

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

Sub test()
Dim Arr, xD, T$, w1$, w2$, i&, j&, k%
Set xD = CreateObject("Scripting.Dictionary")
Arr = Range("d3:w16")
For i = 2 To UBound(Arr) Step 6
    k = k + 1
    For j = 1 To UBound(Arr, 2)
        T = Arr(i, j): If T = "" Then GoTo 99
        xD(T & "_" & k) = Arr(i - 1, j)
    Next j
99: Next i
Arr = Range("a5:a" & [a5].End(4).Row)
For i = 1 To UBound(Arr)
    w1 = Left(Arr(i, 1), 1)
    w2 = Mid(Arr(i, 1), 2, 1)
    If Asc(w1) > 64 And Asc(w1) < 123 And Asc(w2) > 64 And Asc(w2) < 123 Then
        If UCase(w1) = "L" Then
            T = Mid(Arr(i, 1), 2, 4) & "/" & Mid(Arr(i, 1), 8, 2) & "_" & 2
            Arr(i, 1) = xD(T)
        End If
        If UCase(w1) = "R" Then
            T = Mid(Arr(i, 1), 2, 4) & "/" & Mid(Arr(i, 1), 8, 2) & "_" & 1
            Arr(i, 1) = xD(T)
        End If
    Else
        T = Left(Arr(i, 1), 4) & "_" & 3
        Arr(i, 1) = xD(T)
    End If
Next
Range("b5").Resize(UBound(Arr)) = Arr
End Sub

TOP

C5=OFFSET(C$1,IF(LEFT(A5)="L",8,IF(LEFT(A5,2)="RR",2,14)),MATCH(MID(SUBSTITUTE(A5,"¥õ¨¤","/"),1+(MID(A5,2,1)="R"),4+(MID(A5,2,1)="R")*3),OFFSET(D$1,IF(LEFT(A5)="L",9,IF(LEFT(A5,2)="RR",3,15)),,,20),))
google"EXCEL°g"  blog  ©Îgoogleºô§}:https://hcm19522.blogspot.com/

TOP

¦^´_ 5# hcm19522

½Ð±Ðhcm19522¤j¡I

§Ú¬O¨ú¨ä¥¦¤u§@ªíªº¸ê®Æ·j´M
¤Þ¥ÎC$1¡BD$1·|¦³¼vÅT¶Ü¡H¦]¬°§Ú·|¥X²{#N/A...

TOP

¦^´_ 4# samwang


·PÁÂsamwang¤j¤jÀ°¦£¡I¡I

TOP

¦^´_  hcm19522

½Ð±Ðhcm19522¤j¡I

§Ú¬O¨ú¨ä¥¦¤u§@ªíªº¸ê®Æ·j´M
¤Þ¥ÎC$1¡BD$1·|¦³¼vÅT¶Ü¡H¦]¬°§Ú·|¥X ...
wayne0303 µoªí©ó 2021-8-21 13:57



ÁÂÁÂhcm19522¤j¤j¡I

¤£¦n·N«ä¡A§Ú¬ÝÀ´¤F


ÁÂÁ±zªºÀ°¦£¡I¡I

TOP

¦^´_ 5# hcm19522



¤£¦n·N«ä­n¦A½Ð°Ý¤@¤Uhcm19522¤j¡I¦pªG§Úªº¼Æ¦r·|¨ì4¦ì¼Æ¨º¤½¦¡­n«ç»ò§ï¼g©O¡H

ÁÂÁÂ

TOP

¦pªG¬O¤Þ¥Î¨ä¥¦¤u§@ªí¬°·j´M¸ê®Æªº±¡ªp¤U¡A¦³¨ä¥¦¤½¦¡ªº¼gªk¶Ü¡H
R«á¼Æ¦r¬°3~4¦ì¼Æ

(¥ÎOFFSETªº¤½¦¡¡A¥²»Ý¶}±Ò¤Þ¥Îªº¤u§@ªí¡A¤£µM·|¥X²{#VALUE!)

TOP

        ÀR«ä¦Û¦b : °µ¸Ó°µªº¨Æ¬O´¼¼z¡A°µ¤£¸Ó°µªº¨Æ¬O·Mè¡C
ªð¦^¦Cªí ¤W¤@¥DÃD