A1=Madden.09.USA.PS2DVD-FATAL =LOOKUP(,-SEARCH({"","XBOX360","PS3","WII","NDS","PSP","PS2"},A1),{"","XBOX360","PS3","WII","NDS","PSP","PS2"}) =LOOKUP(,{-1,#VALUE!,#VALUE!,#VALUE!,#VALUE!,#VALUE!,-15},{"","XBOX360","PS3","WII","NDS","PSP","PS2"}) 依照二分法先查(1+7)/2 第四個是 #VALUE!那他怎知要往左還往右--假設往右那答案就是PS2 A2=NBA_2K8_JPN_XBOX360-Caravan =LOOKUP(,-SEARCH({"","XBOX360","PS3","WII","NDS","PSP","PS2"},A2),{"","XBOX360","PS3","WII","NDS","PSP","PS2"}) =LOOKUP(,{-1,-13,#VALUE!,#VALUE!,#VALUE!,#VALUE!,#VALUE!},{"","XBOX360","PS3","WII","NDS","PSP","PS2"}) 依照二分法先查(1+7)/2 第四個是 #VALUE!那他怎知要往左還往右--假設如上的走法往右那答案就是 找不到 可是為什麼答案還是對的是XBOX360 ??? 難道他還會反查回去? 讀了二分法大致有一點了解,但對於這些值會忽略的說法跟實際好像沒多做說明,所以還是不懂,想再請教,或是那裡有資料我沒讀到的。 另外這篇條件格式的問題 =AND(COUNTA($A$1:$Z$100)>0,COUNTA(A1:$Z$100)>=1) 要以上二個都成立才會成立,可是明明沒資料在上面,儲存格還是會變色,不懂是為什麼? 原帖: http://club.excelhome.net/viewthread.php?tid=350253&extra=&page=1#1509878 |