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

½Ð°Ý¤½¦¡¡G¥X²{¤F¤°»ò¼Æ¦r?

½Ð°Ý¤½¦¡¡G¥X²{¤F¤°»ò¼Æ¦r?


½Ð°Ý¤j®a¡A¦b¡u¥X²{¼Æ¦r¡vªº¨ºÄ檺¤½¦¡­n¦p¦ó¼g?

¹F¦¨µ²ªG¡G
1) ¸Ó¦Cªº¼Æ¦r¬Û¦P(©Î¬O¨S¦³¤£¦P)¡A«h·|Åã¥Ü¨º¦Cªº¼Æ¦r

2) ¦pªG¹³²Ä6©M7¦Cªº¼Æ¦r¬O¤£¦Pªº¡A«h·|Åã¥Ü"-"


½Ð¦U¦ì¨ó§UÄ_¶Q·Qªk¡AÁÂÁ¦U¦ì¤F¡C(³o­Ó°ÝÃD¬O©µÄò¤W¤@©«¡u¬O§_¤£¦P¡v¨ºÄ檺¤½¦¡­n¦p¦ó¼g?)

½Ð°Ý¤j®a¡A¦b¡u¥X²{¼Æ¦r¡vªº¨ºÄ檺¤½¦¡­n¦p¦ó¼g?

¹F¦¨µ²ªG¡G
1) ¸Ó¦Cªº¼Æ¦r¬Û¦P(©Î¬O¨S¦³¤£¦P)¡A«h·| ...
gaishutsusuru µoªí©ó 2016-4-25 21:50

¤½¦¡?
¨º­Ó...³o¸Ì¬O "Excelµ{¦¡°Ï" ­C,
¬O°Q½× Excel VBA µ{¦¡³]­pªº¦a¤è³á.

§A·Q­nªºµ²ªG¦pªG¥Î¤½¦¡ªº¸Ü¥i¯à·|º¡½ÆÂøªº,
¥Îµ{¦¡´N·|¤ñ¸û²³æ¤@¨Ç :
  1. Sub nn()
  2.   Dim iI%, iNum%
  3.   Dim lRow&
  4.   
  5.   Range([E2], [F7]).ClearContents
  6.   lRow = 2
  7.   While Not (Cells(lRow, Columns.Count).End(xlToLeft).Column = 1 And Cells(lRow, 1) = "")
  8.     iNum = -1
  9.     For iI = 1 To 4
  10.       If Cells(lRow, iI) <> "" Then
  11.         If iNum > -1 Then
  12.           If Cells(lRow, iI) <> iNum Then
  13.             Cells(lRow, 5) = "OK"
  14.             Cells(lRow, 6) = "-"
  15.             Exit For
  16.           End If
  17.         Else
  18.           iNum = Cells(lRow, iI)
  19.           Cells(lRow, 6) = iNum
  20.         End If
  21.       End If
  22.     Next
  23.     lRow = lRow + 1
  24.   Wend
  25. End Sub
½Æ»s¥N½X

TOP

¢Ô¢±¡D°}¦C¤½¦¡¡]¤TÁä¡^¡G
=IF(COUNT(0/(MATCH(A2:D2,A2:D2,)=COLUMN(A:D)))=1,LOOKUP(,0/(A2:D2<>""),A2:D2),"-")

TOP

        ÀR«ä¦Û¦b : µêªÅ¦³ºÉ¡D§ÚÄ@µL½a¡AµoÄ@®e©ö¦æÄ@Ãø¡C
ªð¦^¦Cªí ¤W¤@¥DÃD