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

¼Æ¾Ú»Ý­n­«·s½s½X¡A½ÐÀ°À°§Ú¤@¤U

¼Æ¾Ú»Ý­n­«·s½s½X¡A½ÐÀ°À°§Ú¤@¤U

§Ú¦³¤@¨Ç¸ê®ÆÀÉ¡A»Ý­n­«·s½s½X
¤u§@ªí¤@±qc2¨ìdi123­«·s½s½X§¹«á¡C­n©ñ¨ì¤u§@ªí¤G¬Û¦Pªº¦ì¸m
ps:¥¼¨Ó¤£¦Pªº¸ê®ÆÀɸê®Æ¼Æ¶q¬O¤£¦Pªº(¦³ªº·|¨ì90·³)
­«·s½s½Xªº­ì«h¦p¤U:
¥H©Ê§O2,¦~ÄÖ¬O15¬°¨Ò­ì©l¼Æ¾Ú¦p¤U
²Ä¤@¦~    ²Ä¤G¦~   ²Ä¤T¦~   ²Ä¥|¦~   ²Ä¤­¦~   ²Ä¤»¦~
202        445        694        950        1213        1484

½s½X«áÀx¦s®æ­È¡×202¡Ð©Ê§O¡Ð¦~ÄÖªº³Ì«á½X
¤]´N¬O202-2(©Ê§Oªº¼Æ­È)-5(¦~ÄÖªº¥½½X,¤Q¦ì¼Æ¤£­p)=195
³o­Ó­È©ñ¨ì¤u§@ªí¤GªºC¢²¢²Àx¦s®æ
D33¡×445-2-5=438©ñ¨ì¤u§@ªí¤GªºD33ªº¦ì¸m
E33=694-2-5=687©ñ¨ì¤u§@ªí¤GªºE33ªº¦ì¸m
F33=950-2-5=943 ©ñ¨ì¤u§@ªí¤GªºF33ªº¦ì¸m
¡K¡K¡K¡K¡K¡K¡K¡K¡K¡K¡K¡K¡K¡K¡K¡K¡K¡K¡K¡K¡K¡K..¥H¦¹Ãþ±À
§Æ±æ¦U¦ì°ª¤âÀ°¦£¸Ñµª
¼Æ¾Ú¦bªþ¥ó¤¤
ÁÂÁÂ

¬¡­¶Ã¯1.rar (9.96 KB)

jeason

¦^´_ 1# brabus

¤èªk¤@
¤u§@ªí2 C3 ¤½¦¡:
=¤u§@ªí1!C2-$A2-MOD(¤u§@ªí1!$B2,10)
½Æ»s¨ì¥þ³¡

¤èªk¤G
¥ÎVBA
  1. Option Explicit
  2. Private Sub CommandButton1_Click()
  3.     Dim sh1, sh2 As Worksheet
  4.     Dim i, j, endRow, endCol As Integer
  5.     Set sh1 = Sheets("¤u§@ªí1")
  6.     Set sh2 = Sheets("¤u§@ªí2")
  7.     endRow = sh1.[A65536].End(xlUp).Row
  8.     endCol = sh1.[IV2].End(xlToLeft).Column
  9.     sh1.[A:B].Copy sh2.[A1]
  10.     sh1.[1:1].Copy sh2.[A1]
  11.    
  12.     For i = 3 To endCol
  13.         For j = 2 To endRow
  14.             sh2.Cells(j, i) = sh1.Cells(j, i) - sh1.Cells(j, 1) - sh1.Cells(j, 2) Mod 10
  15.         Next
  16.     Next
  17. End Sub
½Æ»s¥N½X
¤u§@ªí2 ªº CommandButton1

TOP

¦^´_ 2# yen956


    ·PÁÂyen956¤jªº¦^ÂÐ
   §Ú¦³¥Î=¤u§@ªí1!C2-¤u§@ªí1!$A$2-RIGHT(¤u§@ªí2!B2,1)¨Ó§¹¦¨
   §A¬O¥Î¾l¼Æ¨Ó§¹¦¨,Åý§Ú¦³¾Ç²ß¨ì
   ¥i¬O¦]¬°¼Æ¾Ú¨ì®É¨ì½Æ¨î¨ì§Oªº¤u§@ªí¥h¨Ï¥Î
   §Ú©È½Æ¨î·|§â¤½¦¡COPY¹L¥h¦ÓÅý­È¨S¿ìªk±a¹L¥h
   ©Ò¥H¤~·Q¥ÎVBA¨Ó§¹¦¨
   ¬Ý³o¼Ë·|¤£·|²³æ¤@ÂI
   ¦]¬°¹ïVBA¬O·s¤â ¦bºN¯Á¤¤
  ·|ºCºC¥h¤F¸Ñ¤º®eªº¸q·N
  ÁÂÁ§Aªº¦^ÂÐ
jeason

TOP

¦^´_ 3# brabus
¤j¤j§A¦n!
¸É¥R»¡©ú(¤è«K§A­×§ï)¡G
   '[A65536].End(xlUp)¡÷
    '¥Ñ [A65536] ¶}©l¦V¤W¬d, ª½¨ì§ä¨ì«DªÅ¥Õ®æ¬°¤î
    '.Row ¡÷ «DªÅ¥Õ®æ ªº ¦C¸¹
    endRow = sh1.[A65536].End(xlUp).Row
   
    '.Column ¡÷ «DªÅ¥Õ®æ ªº Ä渹(¼Æ¦r)
    endCol = sh1.[IV2].End(xlToLeft).Column
   
    '½Æ»s ÄæA¡BÄæB ¨ì sh2
    sh1.[A:B].Copy sh2.[A1]
   
    '½Æ»s ²Ä¤@¦C ¨ì sh2
    sh1.[1:1].Copy sh2.[A1]
¸É¹Ï¡G

TOP

¦^´_ 4# yen956


  ¤Ó¥i©È¤F
§A«ç»òª¾¹D§A«á¨Ó¸Éªº³¡¥÷¬O§Ú¤£À´ªº
§A¦³Åª¤ß³N¶Ü?
¯uªºÁÂÁ§A
jeason

TOP

§Ú¤]­è¾Ç¨Óªº(¦VGBKEEª©¤j¾Çªº),
²{¾Ç²{½æ, ¦³°ÝÃD¦A»¡°Õ.

TOP

¤W­±ªºªF¦è§Ú¦³¹J¨ì°ÝÃD
¦pªG¦bªí®æ¤¤ªº¤º®e·|¦³¤å¦r©M¼Æ¦rªº°ÑÂø¿n¤£¤@©w¦b¨º­Ó¦æ¦C¤¤)
¦pªG¬O¼Æ¦r­nÂà´«
¦pªG¬O¤å¦rª½±µ½Æ¨î
§Ú¸Ó«ç»ò§ï¤º®e

For i = 3 To endCol
        For j = 2 To endRow
    if ¬O¤å¦r then(½Ð°Ý³o¨à«ç»ò¤U«ü¥O???
   §Ú·Q¥Îisnumber()¹ï¶Ü?¦pªG¬O§_«hª½±µcopy
           sh2.Cells(j, i) = sh1.Cells(j, i)
     ELSE
            sh2.Cells(j, i) = sh1.Cells(j, i) - sh1.Cells(j, 1) - sh1.Cells(j, 2) Mod 10
END IF
        Next

½Ð°ª¤â«ü±Ð,ÁÂÁÂ
jeason

TOP

¦^´_ 7# brabus
¸Õ¸Õ¬Ý
  1. Option Explicit
  2. Sub Ex()
  3.     Dim Ar(), xRow As Integer, xCol As Integer
  4.     Ar = Sheets("¤u§@ªí1").UsedRange.Value
  5.     For xRow = 2 To UBound(Ar)                '¦P¤u§@ªí¤Wªº¦C
  6.         For xCol = 3 To UBound(Ar, 2)         '¦P¤u§@ªí¤WªºÄæ
  7.             If IsNumeric(Ar(xRow, xCol)) Then '¬O¼Æ¦r
  8.                 Ar(xRow, xCol) = Ar(xRow, xCol) - Ar(xRow, 1) - Ar(xRow, 1) Mod 10
  9.             End If
  10.         Next
  11.     Next
  12.     Sheets("¤u§@ªí2").Range("A1").Resize(UBound(Ar), UBound(Ar, 2)) = Ar
  13. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 8# GBKEE


ÁÂÁÂg¤jªº¦^Âгá
jeason

TOP

        ÀR«ä¦Û¦b : ¡i»X½ªªº¦Û¥Ñ¡j¤H±`¦b¤°»ò³£¥i¥H¦Û¥Ñ¦Û¦bªº®É­Ô¡A«o³Q³oºØÀH¤ß©Ò±ýªº¦Û¥Ñ»X½ª¡AµêÂY®É¥ú¦Ó²@µLıª¾¡C
ªð¦^¦Cªí ¤W¤@¥DÃD