简体   繁体   中英

List the items filtered by COUNTIF function in Google Sheets

I have this function that is filtering some entries but I would want a function to list those items. How can I do this?

=COUNTIFS('ORDENS DE FABRICO'!H3:H996;"<" & TODAY(); 'ORDENS DE FABRICO'!I3:I996;"PENDENTE")+COUNTIFS('ORDENS DE FABRICO'!H3:H996;"<" & TODAY(); 'ORDENS DE FABRICO'!I3:I996;"PRODUÇÃO")+COUNTIFS('ORDENS DE FABRICO'!H3:H996;"<" & TODAY(); 'ORDENS DE FABRICO'!I3:I996;"INSPEÇÃO")

Thank you in advance.

Try this:

=filter( 
  'ORDENS DE FABRICO'!H3:I; 
  'ORDENS DE FABRICO'!H3:H < & today(); 
  regexmatch('ORDENS DE FABRICO'!I3:I; "(?i)PENDENTE|PRODUÇÃO|INSPEÇÃO") 
)

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