excel....點樣將2行比較?

2008-04-10 7:47 am
例如: A___________________B
1______dd ltd______________dd ltd
2______dd ltd______________dd ltd
3______dd ltd______________ dd ltd
4______hi ltd______________ dd ltd
5______ka ltd______________ hi ltd
6______nn ltd______________me ltd
7______nn ltd______________me ltd
8______nn ltd______________nn ltd
9______nn ltd______________nn ltd
10_______________________ nn ltd

2行已經順英文字母排好....有冇辦法自動搵出2行既唔同??
即係B 多左一個dd ltd, B少左一個ka ltd, B多左2個me ltd, B少左一個nn ltd....
或者當發現2行唔同個時 自動向相對個行加一間空格....
即係:

________A________________B
1______dd ltd____________dd ltd
2______dd ltd____________dd ltd
3______dd ltd____________dd ltd
4_______________________dd ltd
5______hi ltd_____________hi ltd
6______ka ltd
7_______________________me ltd
8_______________________me ltd
9______nn ltd____________nn ltd
10_____nn ltd____________nn ltd
11_____nn ltd____________nn ltd
12_____nn ltd

回答 (1)

2008-04-10 7:59 am
✔ 最佳答案
要做到自動加行比較複雜, 較簡單的做法是, 比較兩個唔同, 肉眼見到唔同, 就插入一個空儲存格 (全部向下移)

比較的Formula是 =IF(A1=B1,"","X") , 這是說A1等於B1時, 出空白, 不相等時, 出 X.

(請將"變回半形)
參考: 自己


收錄日期: 2021-04-19 00:49:33
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20080409000051KK03271

檢視 Wayback Machine 備份