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

[µo°Ý] §ä¥X³Ì¤Öªº²Õ¦X

¦^´_ 3# GBKEE


    ÁÂÁÂGBKEE¤j¤j±`±`¥Î¤ßªº±Ð¾É.
¥i¯à¬O§Úªº¨Ò¤l¤£¦n,§Ú°µ¤F1­Ó¤ñ¸û©ö©úªº¨Ò¤l.

book.rar (11.64 KB)

50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¦^´_ 1# basarasy
¸Õ¸Õ¬Ý
  1. Sub Ex()
  2.     Dim Rng(1 To 2) As Range, E, R As Variant, C As Variant
  3.     With Sheets("eg.1")
  4.         Set Rng(1) = .[D1:G4]
  5.         Set Rng(2) = .[Q2:R4]
  6.     End With
  7.     For Each E In Rng(2).Rows
  8.         R = Application.Match(E.Cells(1, 1), Rng(1).Columns(1), 0)
  9.         C = Application.Match(E.Cells(1, 2), Rng(1).Rows(1), 0)
  10.         If IsNumeric(C) And IsNumeric(R) Then E.Cells(1, 3) = Rng(1).Cells(C, R)
  11.     Next
  12.     With Rng(2)
  13.         .Cells(.Cells.Count).Offset(1, 1) = "=SUM(" & .Columns(.Columns.Count + 1).Address & ")"
  14.     End With
  15. End Sub
½Æ»s¥N½X

TOP

³o­Ó°ÝÃD~ ¼Ó¥DÀ³¸Ó¥ý±N°ÝÃDªºÅÞ¿èÂç²M~
¦bx=yªº ¯x°} ¥¦¿ï¾Üªº­ç°£±ø¥ó¬°¦ó?
  x=3 , y=3
¦bx<>y®É ¯x°} ¥¦¿ï¾Üªº­ç°£±ø¥ó¬°¦ó?
  x=3, y=4

  ³o¨Ç¼Ó¥D¤£¬O¥æ«Ýªº«Ü²M·¡­ò~

³oºØÃD¥Ø¦n¹³¬OorªºÃD¥Ø~ ¦³ÂI¹³¬O½u©Ê³W¹º~
¾Ç²ß¤~¯à´£¤É¦Û¤v

TOP

        ÀR«ä¦Û¦b : ¤f»¡¦n¸Ü¡B¤ß·Q¦n·N¡B¨­¦æ¦n¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD