Xin giúp chọn danh sách theo lớp (1 người xem)

  • Thread starter Thread starter hoangld
  • Ngày gửi Ngày gửi

Người dùng đang xem chủ đề này

hoangld

Thành viên mới
Tham gia
12/8/09
Bài viết
9
Được thích
0
Các bác cho em hỏi một chút. Em có một danh sách các học sinh trong một khối được xếp thành các cột riêng biệt. Bây giờ em muốn lập công thức để khi em chon giá trị tên lớp cho một cell thì bên dưới sẽ hiện ra danh sách lớp đó được không ah.
em cảm ơn các bác trước nhé.
Như ví dụ bên dưới (do lần đầu post bài mong các bác thông cảm)
[TABLE="width: 446"]
[TR]
[TD="width: 116, bgcolor: transparent"]Chọn lớp =>[/TD]
[TD="width: 95, bgcolor: yellow"]1A[/TD]
[TD="width: 64, bgcolor: transparent, align: center"]STT[/TD]
[TD="width: 64, bgcolor: transparent"]3A[/TD]
[TD="width: 64, bgcolor: transparent"]3B[/TD]
[TD="width: 64, bgcolor: transparent"]3C[/TD]
[TD="width: 64, bgcolor: transparent"]2D[/TD]
[TD="width: 64, bgcolor: transparent"]3E[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Danh sách[/TD]
[TD="bgcolor: transparent"]1[/TD]
[TD="bgcolor: transparent, align: center"]1[/TD]
[TD="bgcolor: transparent"]Thanh[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Quý[/TD]
[TD="bgcolor: transparent"]Hưng[/TD]
[TD="bgcolor: transparent"]Phương[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]2[/TD]
[TD="bgcolor: transparent, align: center"]2[/TD]
[TD="bgcolor: transparent"]Tân[/TD]
[TD="bgcolor: transparent"]Yên[/TD]
[TD="bgcolor: transparent"]Tuấn[/TD]
[TD="bgcolor: transparent"]Chiến[/TD]
[TD="bgcolor: transparent"]Duy[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]3[/TD]
[TD="bgcolor: transparent, align: center"]3[/TD]
[TD="bgcolor: transparent"]Đoàn[/TD]
[TD="bgcolor: transparent"]Quân[/TD]
[TD="bgcolor: transparent"]Thủy[/TD]
[TD="bgcolor: transparent"]Hồng[/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]4[/TD]
[TD="bgcolor: transparent, align: center"]4[/TD]
[TD="bgcolor: transparent"]Vinh[/TD]
[TD="bgcolor: transparent"]Quảng[/TD]
[TD="bgcolor: transparent"]Bảo[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Dương[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]5[/TD]
[TD="bgcolor: transparent, align: center"]5[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Cảnh[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Việt[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]6[/TD]
[TD="bgcolor: transparent, align: center"]6[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Vân[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]7[/TD]
[TD="bgcolor: transparent, align: center"]7[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Hòa[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]8[/TD]
[TD="bgcolor: transparent, align: center"]8[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Anh[/TD]
[/TR]
[/TABLE]
 

File đính kèm

  • Capture.jpg
    Capture.jpg
    23.9 KB · Đọc: 64
Các bác cho em hỏi một chút. Em có một danh sách các học sinh trong một khối được xếp thành các cột riêng biệt. Bây giờ em muốn lập công thức để khi em chon giá trị tên lớp cho một cell thì bên dưới sẽ hiện ra danh sách lớp đó được không ah.
em cảm ơn các bác trước nhé.
Như ví dụ bên dưới (do lần đầu post bài mong các bác thông cảm)
[TABLE="width: 446"]
[TR]
[TD="width: 116, bgcolor: transparent"]Chọn lớp =>[/TD]
[TD="width: 95, bgcolor: yellow"]1A[/TD]
[TD="width: 64, bgcolor: transparent, align: center"]STT[/TD]
[TD="width: 64, bgcolor: transparent"]3A[/TD]
[TD="width: 64, bgcolor: transparent"]3B[/TD]
[TD="width: 64, bgcolor: transparent"]3C[/TD]
[TD="width: 64, bgcolor: transparent"]2D[/TD]
[TD="width: 64, bgcolor: transparent"]3E[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Danh sách[/TD]
[TD="bgcolor: transparent"]1[/TD]
[TD="bgcolor: transparent, align: center"]1[/TD]
[TD="bgcolor: transparent"]Thanh[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Quý[/TD]
[TD="bgcolor: transparent"]Hưng[/TD]
[TD="bgcolor: transparent"]Phương[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]2[/TD]
[TD="bgcolor: transparent, align: center"]2[/TD]
[TD="bgcolor: transparent"]Tân[/TD]
[TD="bgcolor: transparent"]Yên[/TD]
[TD="bgcolor: transparent"]Tuấn[/TD]
[TD="bgcolor: transparent"]Chiến[/TD]
[TD="bgcolor: transparent"]Duy[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]3[/TD]
[TD="bgcolor: transparent, align: center"]3[/TD]
[TD="bgcolor: transparent"]Đoàn[/TD]
[TD="bgcolor: transparent"]Quân[/TD]
[TD="bgcolor: transparent"]Thủy[/TD]
[TD="bgcolor: transparent"]Hồng[/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]4[/TD]
[TD="bgcolor: transparent, align: center"]4[/TD]
[TD="bgcolor: transparent"]Vinh[/TD]
[TD="bgcolor: transparent"]Quảng[/TD]
[TD="bgcolor: transparent"]Bảo[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Dương[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]5[/TD]
[TD="bgcolor: transparent, align: center"]5[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Cảnh[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Việt[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]6[/TD]
[TD="bgcolor: transparent, align: center"]6[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Vân[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]7[/TD]
[TD="bgcolor: transparent, align: center"]7[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Hòa[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]8[/TD]
[TD="bgcolor: transparent, align: center"]8[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Anh[/TD]
[/TR]
[/TABLE]
Bạn tham khảo trong file nhé. Lần sau thay vì gửi cái hình lên thì bạn nên gửi file Excel sẽ tiện hơn.
 

File đính kèm

Bạn tham khảo trong file nhé. Lần sau thay vì gửi cái hình lên thì bạn nên gửi file Excel sẽ tiện hơn.

Oh. Cảm ơn bạn nhiều nhé. Tại mới lần đầu post bài nên chưa biết gửi thế nào cả.
Đây là mình lấy ví dụ để giải quyết một bảng ở công ty. Không biết cách này có giải quyết được không nhưng vẫn cảm ơn bạn nhiều hjhj. Cách của bạn dùng hàm ngắn gọn thật. Trước mình viết phải lồng hàm IF vào nhau làm công thức quá dài mà dễ nhầm
 
Oh. Cảm ơn bạn nhiều nhé. Tại mới lần đầu post bài nên chưa biết gửi thế nào cả.
Đây là mình lấy ví dụ để giải quyết một bảng ở công ty. Không biết cách này có giải quyết được không nhưng vẫn cảm ơn bạn nhiều hjhj. Cách của bạn dùng hàm ngắn gọn thật. Trước mình viết phải lồng hàm IF vào nhau làm công thức quá dài mà dễ nhầm
Nếu đúng là giải quyết bài toán về "bảng ở công ty" thì bạn nên gửi cái bảng tính gần giống với thực tế nhất (ít nhất là giống về cấu trúc), sẽ có câu trả lời phù hợp hơn cho bạn.
 
Nếu đúng là giải quyết bài toán về "bảng ở công ty" thì bạn nên gửi cái bảng tính gần giống với thực tế nhất (ít nhất là giống về cấu trúc), sẽ có câu trả lời phù hợp hơn cho bạn.
Cảm ơn bạn đã giúp nhé. Mình đã giải quyết được bài toán ở công ty rồi. Trước đó mình phải lồng hàm IF để tìm cột có giá trị mình muốn lấy nên nó đến tận 20 vòng IF -+*/ với công thức dài đến 4 dòng. Giờ thì nó rút gọn lắm rồi. Thanks bạn nhiều nhiều :D
PS: Khi nào có thắc mắc gì rất mong bạn chỉ giúp mình nhé.
 
Sao không dùng VLOOKUP,HLOOKUP hay INDEX(MATCH) mà dùng OFFSET hả Phúc ơi?
 
Anh Nghĩa cho em hỏi làm sao ở file của em có thể cho mất dòng N/A được không ak?
 

File đính kèm

Bài viết mới nhất

Back
Top Bottom