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

[µo°Ý] ­pºâ¤£­«½Æ¥X²{ªº¤é´Á

¦^´_ 5# Bodhidharma

©êºp¡Arow(B2:B26)-1¶Ç¦^ªº°}¦CÀ³¸Ó¬O{1,2,3,...,25}¡A¨S¦³26

TOP

¥»©«³Ì«á¥Ñ Bodhidharma ©ó 2013-4-12 23:05 ½s¿è
¦^´_  Bodhidharma

½Ð°Ý¦pªG¬O¸ê®Æ·|¼W¥[ªº±¡§Î¤U,¤]¥i¥Î°}¦C,µM«á±N¤½¦¡ª½±µ¤U©Ô¶Ü?
PJChen µoªí©ó 2013-4-12 20:07


{=SUM(IF(MATCH(OFFSET($B$2,,,COUNTA(B:B)-1),OFFSET($B$2,,,COUNTA(B:B)-1),0)=ROW(OFFSET($B$2,,,COUNTA(B:B)-1))-1,1,0))}
­C¡K³oÃþ¤½¦¡§AÀ³¸Ó·|±`±`¥Î¨ì¡A³Ì¦n²z¸Ñ¤@¤U·§©À
offset($B$2,,,counta(B:B)-1,)´N¬O±qB2¶}©l¡A°ª«×¬°counta(B:B)-1ªºÀx¦s®æ½d³ò
¦]¦¹¥H§Aªº¸ê®Æ´N¬OB2:B26¡A¦]¬°counta(B:B)-1·|ÀHµÛ¸ê®Æ¼Æ¼W¥[¡A©Ò¥H´N¹F¨ì°ÊºA½d³òªº®ÄªG¡A¦^¶Ç©Ò¦³§A´ú¸êªºÄæ¦ì¡C
match(B2:B26,B2:B26,0)ªº°}¦C¤½¦¡¡A·|¦^¶Ç{match(B2:B26,B2,0),match(B2:B26,B3,0),match(B2:B26,B4,0)...match(B2:B26,B26,0)}ªº°}¦C¡A¦]¬°match¹J¨ì­«½Æ­È·|¶Ç¦^³Ì«e­±ªº¡A¦]¦¹³o­Ó¨ç¼Æ´N·|¶Ç¦^©Ò¦³¬Û¦P¤é´Á²Ä¤@­Ó¥X²{ªº¦ì¸m¡A§A¥Î¾Ì¦ô­È¤½¦¡´N¥i¥H¬Ý¥X¬O{1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,16,16,16,16,16,21,21,21,21,21}¡C­nª`·Nªº¬O¡A¦]¬°match¬O±qB2¶}©l¡A¦]¦¹"²Ä¤@­Ó²Å¦X"·|¬O1¦Ó¤£¬O¸Ó¦æ¦C¼Æ2¡C(¦pªG±qB1¶}©l´N·|­è¦n¹ïÀ³²Ä¤@­Ó¥X²{ªº¦C¼Æ)
§â³o­Ó°}¦C¹ïÀ³©órow(B2:B26)-1¡A¤]´N¬O(1,2,3,4,5,6,7,8,...26}¡A¦pªG¬Û¦P´N¶Ç¦^1¡A¤£¦P´Nµø¬°¹s¡C¤]´N¬Omatch(...)=row(...)ªº®É­Ô¡A´N¥Nªí¬O§A­nªº¡A¤£­«½Æ¥X²{ªº¤é´Á¡C§â³o¨ÇªF¦è¥[Á`°_¨Ó§Y¬O§A­nªºµª®×¡C

TOP

¦^´_ 3# Bodhidharma

½Ð°Ý¦pªG¬O¸ê®Æ·|¼W¥[ªº±¡§Î¤U,¤]¥i¥Î°}¦C,µM«á±N¤½¦¡ª½±µ¤U©Ô¶Ü?

TOP

¥»©«³Ì«á¥Ñ Bodhidharma ©ó 2013-4-12 17:39 ½s¿è

¦^´_ 2# Bodhidharma

¨S±Æ§Çªº¸Ü°}¦C¤½¦¡
{=SUM(IF(MATCH(B2:B26,B:B,0)=ROW(B2:B26),1,0))}

note: if(...,1,0)¥i¥H§ï¦¨1*(...)

TOP

¦^´_ 1# PJChen

¬JµM§Aªº¤é´Á¬O¦³±Æ§Çªº¡A¨º´N¥Î°}¦C¤½¦¡
{=SUM(IF(B2:B26<>B3:B27,1,0))}

TOP

        ÀR«ä¦Û¦b : ¦h°µ¦h±o¡C¤Ö°µ¦h¥¢¡C
ªð¦^¦Cªí ¤W¤@¥DÃD