简体   繁体   中英

Excel formula How to get data count from another sheet

On C123 =COUNTIFS(Data!A:A,A123,Data!E:E,Data!G:G,B123,Data!Q:Q,"mobilepod")

its giving me Error, I know I'm missing criteria2 but isn't that an optional?

I have also tried =COUNTIFS(Data!A:A,A123,Data!E:E,"",Data!G:G,B123,Data!Q:Q,"mobilepod")

No Errors no result

在此处输入图片说明

Data Sheet

在此处输入图片说明

要在COUNTIFS函数的条件之一中使用OR逻辑,请将多个ctrieria值作为常量数组放入,并将整个内容包装在SUM函数中

=SUM(COUNTIFS(data!A:A, A123, data!E:E, {"DIST","DIST 2"}, data!G:G, B123, data!Q:Q, "mobilepod"))

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