从更大的列表中的数据创建一个较小的列表 [英] Create a smaller list from data in a larger list

查看:143
本文介绍了从更大的列表中的数据创建一个较小的列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一些帮助来创建使用Excel中较大列表中包含的信息的列表。例如,在单元格A1:A15中,我有一个人名。在单元格B1:B15中,我有一个下拉框表示通过/失败。我只对失败的人感兴趣,那么有没有办法创建一个较小的列表,它将包含他们的名字,只要它们在单元格B1:15中有失败名称?感谢您提前获得任何帮助。

解决方案

使用此公式,在 E2

CTRL + SHIFT + ENTER 进行评估并将其拖下来。





另一种方法是过滤列 B for Fail values and copy only visible rows


I need some help in creating a list using information that is contained in a larger list in Excel. For instance, in cells A1:A15 I have a persons name. In cells B1:B15 I have a drop down box indicating Pass/Fail. I am only interested in the people who have failed, so is there a way to create a smaller list that will contain their name based on if they have the Fail designation in cells B1:15? Thanks in advance for any help.

解决方案

Use this formula, say in E2:

=INDEX($A$1:$A$15,SMALL(IF($B$1:$B$15="Fail",ROW($B$1:$B$15)),ROW()-ROW($E$2)+1))

press CTRL+SHIFT+ENTER to evaluate it and drag it down.

Another way would be to filter column B for Fail values and copy only visible rows

这篇关于从更大的列表中的数据创建一个较小的列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆