¦p¦ó¥Îvlookup¦Û°Ê¦¬´M¤ñ¹ïªº¶µ¦¸¼Æ¶q
- ©«¤l
- 53
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 90
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- 7
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2019-4-30
- ³Ì«áµn¿ý
- 2023-4-25
|
¦p¦ó¥Îvlookup¦Û°Ê¦¬´M¤ñ¹ïªº¶µ¦¸¼Æ¶q
½Ð°Ý¤@¯ë¨Ï¥Îvlookup®É¡A¨Ï¥Î·Æ¹«ÂI¨â¤U§Y¥i¾ãÄæ³£¦Û°Ê¶ñ¤J
¨Ï¥Î¿ý»s¥\¯à®É¡A¦]¬°¨C¦¸¶µ¦¸³£¤£¦P¡A¸Ó¦p¦ó¥h°õ¦æ?
¥Ø«e§Ú¬O¥Î¤U±³o¼Ë¿ý»s¡A¦³¤ñ¸û©ú²Ó«ü¥OÅývba¯à°÷§ì¨ì¹ïÀ³ªºÄæ¦ì?
Sheets("°U¥~³øªí").Select 'VLOOKUP¤ñ¹ï¸ê®Æ±ÄÁʸɥR
Range("B2").Select
Application.CutCopyMode = False
ActiveCell.FormulaR1C1 = "=VLOOKUP(C[-1],'°U¥~³øªí(Á`ªí)'!C[-1]:C,2,0)"
Range("B2").Select
Selection.AutoFill Destination:=Range("B2:B3000")
Range("B2:B3000").Select
Columns("B:B").Select '§R°£N/A
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Selection.Replace What:="#N/A", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False |
|
|
|
|
|
|
- ©«¤l
- 561
- ¥DÃD
- 160
- ºëµØ
- 0
- ¿n¤À
- 725
- ÂI¦W
- 0
- §@·~¨t²Î
- WINDOWS
- ³nÅ骩¥»
- xp
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2014-9-10
- ³Ì«áµn¿ý
- 2024-8-7
|
Sub BBB()
Sheet1.Select
Range("A1").Select
For X = 2 To 4
If 1 = 1 Then
M = Sheet1.Cells(X, 1)
mymax = Evaluate("VLOOKUP(""" & M & """,¤u§@ªí2!A:B,2,FALSE)")
If Application.IsError(mymax) = True Then mymax = ""
Sheet1.Cells(X, 2) = mymax
End If
Next
End Sub |
|
ù
|
|
|
|
|
- ©«¤l
- 53
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 90
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- 7
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2019-4-30
- ³Ì«áµn¿ý
- 2023-4-25
|
¦^´_ 2# rouber590324
ÁÂÁ¡Aµ¥µ¥´ú¸Õ¬Ý¬Ý
¦³°ÝÃD¦A½Ð±Ð |
|
|
|
|
|
|
- ©«¤l
- 2839
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2895
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-12-27
|
With Range([°U¥~³øªí!B2], [°U¥~³øªí!A65536].End(xlUp)(1, 2)) '¥HAÄæ¨ú±o³Ì«á¤@µ§¦ì¸m, ¦A¥k²¾¤@®æ
.FormulaR1C1 = "=VLOOKUP(RC[-1],'°U¥~³øªí(Á`ªí)'!C[-1]:C,2,0)"
.Value = .Value
.Replace "#N/A", ""
End With |
|
|
|
|
|
|
- ©«¤l
- 53
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 90
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- 7
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2019-4-30
- ³Ì«áµn¿ý
- 2023-4-25
|
¦^´_ 4# ã´£³¡ªL
With Range([°U¥~³øªí!B2], [°U¥~³øªí!A65536].End(xlUp)(1, 2)) '¥HAÄæ¨ú±o³Ì«á¤@µ§¦ì¸m, ¦A¥k²¾¤@®æ
½Ð°Ý³o¤@¦æªº·N«ä§ï¬°(1,3)·|±N°U¥~³øªí¤¤,A-CÄæ¦ì¤@°_¤ñ¹ï¹L¨Óªº·N«ä¶Ü? |
|
|
|
|
|
|
- ©«¤l
- 406
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 453
- ÂI¦W
- 0
- §@·~¨t²Î
- WINDOWS 7
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2015-2-7
- ³Ì«áµn¿ý
- 2021-7-31
|
¥»©«³Ì«á¥Ñ n7822123 ©ó 2020-6-11 11:10 ½s¿è
¦^´_ 5# cclo0728
°õ¦æ¥H¤Uµ{¦¡¡A¬Ýþ¨ÇÀx¦s®æ³Q¿ï¨ú´N¥i¥Hª¾¹D½d³ò¤F~¡A¥i¦Û¦æÅçÃÒ¤£¶·n°Ý§O¤H
Range([°U¥~³øªí!B2], [°U¥~³øªí!A65536].End(xlUp)(1, 3)).Select |
|
µ{¦¡¬O¨Ì»Ý¨D¼gªº¡A»Ý¨Dªí¹F¤£²M·¡
©ÎªÌ¨S¦³¤W¶Çªþ¥ó¡A·R²ö¯à§U
|
|
|
|
|
- ©«¤l
- 2839
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2895
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-12-27
|
¦^´_ 5# cclo0728
¥i¦Û¦æ¥h´ú¸Õ¦³¦ó¤£¦P???
¦Aµ¹¨âºØ¤èªk:
Sub TTT1()
R& = [°U¥~³øªí!A65536].End(xlUp).Row
With [°U¥~³øªí!B2].Resize(R - 1)
.FormulaR1C1 = "=VLOOKUP(RC[-1],'°U¥~³øªí(Á`ªí)'!C[-1]:C,2,0)"
.Value = .Value
.Replace "#N/A", ""
End With
End Sub
Sub TTT2()
R& = [°U¥~³øªí!A65536].End(xlUp).Row
With Sheets("°U¥~³øªí").Range("B2:B" & R)
.FormulaR1C1 = "=VLOOKUP(RC[-1],'°U¥~³øªí(Á`ªí)'!C[-1]:C,2,0)"
.Value = .Value
.Replace "#N/A", ""
End With
End Sub |
|
|
|
|
|
|
- ©«¤l
- 53
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 90
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- 7
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2019-4-30
- ³Ì«áµn¿ý
- 2023-4-25
|
¦^´_ 7# ã´£³¡ªL
ÁÂÁ¡A§Ú²z¸Ñ¤F |
|
|
|
|
|
|
- ©«¤l
- 53
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 90
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- 7
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2019-4-30
- ³Ì«áµn¿ý
- 2023-4-25
|
¦^´_ 6# n7822123
Range([°U¥~³øªí!B2], [°U¥~³øªí!A65536].End(xlUp)(1, 3)).Select
§Ú²z¸Ñ¤Fselect¡A·PÁ«ü¾É |
|
|
|
|
|
|