简体   繁体   English

索引匹配部分标准

[英]Index Match Partial Criteria

I'm trying to Index/Match a column with shortened criteria.我正在尝试索引/匹配具有缩短标准的列。 The idea is to Pull the Line of Business from the column without producing dozens of "duplicate" Unique Lines of Business.这个想法是从列中拉出业务线,而不会产生数十个“重复”的独特业务线。

Currently, I get a list like:目前,我得到一个列表:

第一个列表

Whereas I just want:而我只想:

第二个名单

I don't want to use a fixed list lookup, as the data is varied enough to not be practical using a fixed list我不想使用固定列表查找,因为数据变化很大,使用固定列表不实用

The ARRAY formula so far: {=IFERROR(INDEX($C$1:$C$155,MATCH(0,COUNTIF($Q$156:Q156,$C$1:$C$155)+COUNTIF($C$1:$C$155,$C$1:$C$155<>1),0)),"")}到目前为止的 ARRAY 公式: {=IFERROR(INDEX($C$1:$C$155,MATCH(0,COUNTIF($Q$156:Q156,$C$1:$C$155)+COUNTIF($C$1:$C$155,$C$1:$C$155<>1),0)),"")}

Is there a way to search in the text for the company name without creating a new column?有没有办法在不创建新列的情况下在文本中搜索公司名称?

You would need to use some sort of formula like this to filter your countif query =IF(ISNUMBER(SEARCH("company",A1)),"Company "&MID(A1,FIND("company",A1)+8,1),"") .您需要使用类似这样的某种公式来过滤您的 countif 查询=IF(ISNUMBER(SEARCH("company",A1)),"Company "&MID(A1,FIND("company",A1)+8,1),"")

This code searches your list for the word company and then outputs the word "Company" then searches 8 positions to the right from the start of the word and returns the number.此代码在您的列表中搜索词公司,然后输出词“公司”,然后从词的开头搜索右侧的 8 个位置并返回数字。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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