简体   繁体   中英

Excel Question: How do I make a dynamic drop down when the list is the column name and I want it to show all the row under that column?

Cell A1 is drop down with the list of all the columns G1:K1 Cell G2:K6 is the array Cell G2:K6 also a drop down with options of Pass and Fail

Check this for the sample image:
在此处输入图像描述

Check this for the another sample image:
在此处输入图像描述

but once the Cell A1 is changed all the rows change as well and vice versa.

Use INDEX/Match combination. Try-

=IFERROR(INDEX($G$2:$K$6,ROW(1:1),MATCH($A$1,$G$1:$K$1)),"")

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM