in Sheet 1
E栏F栏G栏
kk A Pick up
kk B Pick down
kl C Pick up
如果G列=拿起& E列以“kk”开头
然后在Sheet 4
显示第1页的E列,为每个单元格添加“ok”字样
否则如果
G列=取下& E列以“kk”开头
然后在Sheet 4
显示第1页的F列为每个cel添加单词“ok”
否则,如果列E = kl
在Sheet 4
中显示第1页的E列
期望的结果
Column E in Sheet 4
okkk
okB
kl
任何想法都会很棒,谢谢
修改
第4页
第1页
我的修正公式
=IF(AND(Sheet1!G1="Pick up",LEFT(Sheet1!E1,2)="HK"),"Ok" & Sheet1!F1,IF(AND(Sheet1!G1="delivery",LEFT(Sheet1!E1,2)="HK"),"HK" & Sheet1!F1,IF(Sheet1!E1="Macau",
答案 0 :(得分:1)
在Sheet4
=IF(Sheet1!G1="Pick Up","Ok" &Sheet1!E1,"Ok"&Sheet1!F1)
修改
然后使用以下公式
=IF(AND(Sheet1!G1="Pick Up",LEFT(Sheet1!E1,2)="kk"),"Ok" & Sheet1!E1,IF(AND(Sheet1!G1="Pick Down",LEFT(Sheet1!E1,2)="kk"),"Ok" & Sheet1!F1,IF(Sheet1!E1="Kl",Sheet1!E1,"")))