trai ho mo
Thành viên mới
- Tham gia
- 29/10/12
- Bài viết
- 21
- Được thích
- 5
Tôi có làm 1 công thức gồm các hàm if lồng nhau nhưng không được. Có lẽ do dài quá. Xin các bác giúp ý kiến
'=IF(Danh_sach!AD2=Danh_sach!G1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:AC2000,6,0),IF(Danh_sach!AD2=Danh_sach!I1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,8,0),IF(Danh_sach!AD2=Danh_sach!K1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,10,0),IF(Danh_sach!AD2=Danh_sach!M1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,12,0),IF(Danh_sach!AD2=Danh_sach!O1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,14,0),IF(Danh_sach!AD2=Danh_sach!Q1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,16,0),IF(Danh_sach!AD2=Danh_sach!s1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,18,0),IF(Danh_sach!AD2=Danh_sach!u1,vlookup(Danh_sach!AE2,Danh_sach!A3:Ac2000,20,0),IF(Danh_sach!AD2=Danh_sach!w1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,22,0),IF(Danh_sach!AD2=Danh_sach!y1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,24,0),IF(Danh_sach!AD2=Danh_sach!aa1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,26,0),VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,28,0))))))))))))
Cám ơn
'=IF(Danh_sach!AD2=Danh_sach!G1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:AC2000,6,0),IF(Danh_sach!AD2=Danh_sach!I1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,8,0),IF(Danh_sach!AD2=Danh_sach!K1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,10,0),IF(Danh_sach!AD2=Danh_sach!M1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,12,0),IF(Danh_sach!AD2=Danh_sach!O1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,14,0),IF(Danh_sach!AD2=Danh_sach!Q1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,16,0),IF(Danh_sach!AD2=Danh_sach!s1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,18,0),IF(Danh_sach!AD2=Danh_sach!u1,vlookup(Danh_sach!AE2,Danh_sach!A3:Ac2000,20,0),IF(Danh_sach!AD2=Danh_sach!w1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,22,0),IF(Danh_sach!AD2=Danh_sach!y1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,24,0),IF(Danh_sach!AD2=Danh_sach!aa1,VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,26,0),VLOOKUP(Danh_sach!AE2,Danh_sach!A3:Ac2000,28,0))))))))))))
Cám ơn