简体   繁体   中英

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)),"")}

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),"") .

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.

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