简体   繁体   中英

Excel: Extract unique values from column using multiple criteria

I have a sheet in excel with a list of names, values and dates.

I'm trying to extract unique values from that list, but filtering them considering the "date" column first.

Image below is manually edited to show how it should work:

As of now, I'm able to extract unique values with this formula:

{=INDEX($A$2:A:11,MATCH(0,COUNTIF($E$1:E1,$A$2:A:11),0))}

After this, I'd use VLOOKUP for NAME and DATE, but using formula shown above extracts all values, and I'm trying to get values when DATE is less than 20/1/2018.

I tried adding "AND" formula, like: AND(C2<=TODAY()) but that's not working for me...

Any ideas?

您可以创建一个用于验证[Dates]的字段,例如Filter =C2<TODAY() ,然后使用数据透视表中的字段来过滤数据:

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