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

·j´M¯S©w¼Æ­È¦ì¸m.°¾²¾

·j´M¯S©w¼Æ­È¦ì¸m.°¾²¾

¥»©«³Ì«á¥Ñ ken759727 ©ó 2012-6-7 15:47 ½s¿è

¤£¦n·N«ä...¦³³Ò¦U¦ì¤j­ô¤j©j

¤p§Ì¹J¨ìªº°ÝÃD

¦b D11:D90 ¤§¶¡¡A·j´M¸ò D121 Äæ¦ì¬Û¦Pªº¼Æ­Èªº¦ì¸m

§ä¨ìªº¦ì¸m¦A©¹¥ª°¾²¾1³æ¦ì

¦p¦ó§â¸Ó³æ¦ìÅã¥Ü¥X¨Ó

¤p§Ì¥Ø«e¬O¥Î VBA~·Q§â¥¦Âন¤½¦¡¿é¤J
  1. for i = 11 to 90
  2. if Cells(i,4) = Cells(121,4) then
  3. Cells(1,1) = Cells(i,3)
  4. end if
  5. Next
½Æ»s¥N½X
¦³³Ò¦U¦ì¤j­ô¤j©j¤F

2012-0607..©êºp¦^¦³ÂIºC^_^
¸U¤À·PÁÂ...¥H¸Ñ¨M

20120605.rar (11.34 KB)

¦^´_ 1# ken759727

A1=INDEX(C:C,SMALL(IF($D$11:$D$90=$D$121,ROW($D$11:$D$90),65536),ROW(A1)))&""
°}¦C¤½¦¡

TOP

¦^´_ 2# register313

¤£¦n·N«ä~§Ú·ÓµÛ±z¨º°Ñ¼Æ­×§ïÁÙ¬O¦³ÂI°ÝÃD¡A©ó¬O§Ú­×§ï¤@¨Ç~¤£ª¾­þÃä¥X¤F°ÝÃD  ¬O§_¯à«üÂI°g¾÷¤@¤U¡C

·Q­nªº¥\¯à¬O D11~D90 »P D121 ¤ñ¸û ¬Ý¬O§_¬Û¦P~¬Û¦Pªº¸Ü±o¨ì¸Ó¦æ¼Æ­È¡A¤Ï¤§±o¨ì65535¡A¦]¬°¼Æ­È¥u¦³¤@²Õ¤@¼Ë©Ò¥H·|¦³¤@­Ó³Ì¤p­È

¦A¥ÎSMALL( IF(),1) §ä¥X³Ì¤pªº¦æ¡A¦b¨Ï¥ÎINDIRECT("C"&¦æ) ¨D±o¹ïÀ³ªº¡i¾Éµ{¡jCÄæ¦ì
  1. =INDIRECT("C"&SMALL(IF($D$11:$D$90=$D$124,ROW($D$11:$D$90),"65535"),1))
½Æ»s¥N½X
¤£ª¾¹D­×§ï¦¨³o¼Ë¬°¦ó¤£¦æ¡A¤£ª¾¹D­þÃä¥X°ÝÃD{:3_54:}

TOP

¥»©«³Ì«á¥Ñ register313 ©ó 2012-6-5 14:12 ½s¿è

¦^´_ 3# ken759727

E2=INDEX(C:C,SMALL(IF($D$11:$D$90=$D$121,ROW($D$11:$D$90),65536),ROW(A1)))&""
©Î
E2=VLOOKUP(D121,IF({0,1},$C$11:$C$90,$D$11:$D$90),2,0)
©Î
E2=INDIRECT("C"&SMALL(IF($D$11:$D$90=$D$124,ROW($D$11:$D$90),"65535"),1))

¦¹¤TªÌ¬Ò¬°°}¦C¤½¦¡
°}¦C¤½¦¡:¿é¤J¦n¤½¦¡­n«öCTRL+SHIFT+ENTER(¤£¬OENTER),¤½¦¡ªº«e«á·|¦Û°Ê¥X²{{ }

¤@¯ë¤½¦¡
E2=OFFSET(C11,MATCH(D121,D11:D90,0)-1,0)

TOP

        ÀR«ä¦Û¦b : ºw¤ô¦¨ªe¡C²É¦Ì¦¨ÅÚ¡A¤Å»´¤vÆF¡A¤Å¥Hµ½¤p¦Ó¤£¬°¡C
ªð¦^¦Cªí ¤W¤@¥DÃD