誰在線上

正在瀏覽這個版面的使用者: Majestic-12 [Bot] 和 28 位訪客

Excel一問...

歡迎各位影音 fans 齊齊吹水

Excel一問...

文章發表人 cyrux 發表於 2018-08-01, 15:51

18C123,18C234,18C345,18C456,18C567
呢啲數字係同一格入面
有冇formula可以計到C出現既次數?
cyrux
Fun區皇室 - 出野大魔王
Fun區皇室 - 出野大魔王
  頭像
 
文章: 16981

註冊時間:
2005-10-02, 13:31

Re: Excel一問...

文章發表人 mtr 發表於 2018-08-01, 22:40

Try using "SUBSTITUTE" and "LEN" functions like the example below :

https://exceljet.net/formula/count-spec ... -in-a-cell

For instance, you place this whole bunch in cell "A1" :

"18C123,18C234,18C345,18C456,18C567"

Paste this formula at another cell, see if it can give the correct count "5"

=LEN(A1)-LEN(SUBSTITUTE(A1,"C",""))
圖檔
mtr
Fun區守護神 - 變淫大金剛
Fun區守護神 - 變淫大金剛
  頭像
 
文章: 53192

註冊時間:
2007-04-17, 19:21

Re: Excel一問...

文章發表人 cyrux 發表於 2018-08-03, 23:19

mtr 寫: Try using "SUBSTITUTE" and "LEN" functions like the example below :

https://exceljet.net/formula/count-spec ... -in-a-cell

For instance, you place this whole bunch in cell "A1" :

"18C123,18C234,18C345,18C456,18C567"

Paste this formula at another cell, see if it can give the correct count "5"

=LEN(A1)-LEN(SUBSTITUTE(A1,"C",""))


:sorry:
cyrux
Fun區皇室 - 出野大魔王
Fun區皇室 - 出野大魔王
  頭像
 
文章: 16981

註冊時間:
2005-10-02, 13:31


回到 影音 fun 區