Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
355 views
in Technique[技术] by (71.8m points)

excel formula - need MINIFS to not return 0 if conditions not met

TL:DR: I'm looking for a way to get the min value in one column based on multiple criteria however I need it to NOT return 0 if one of criterias is not met.

=MINIFS($A$2:$A,$C$2:$C,$F2,$D$2:$D,G$1)

click here for images

I can't add images yet so I hope my description is enough.

Rows 1 (from column G onwards) are date from a =(TRANSPOSE(SORT(UNIQUE from another sheet which acts as source file (or for this example table A1:D9) Column F (from row 2 downwards) are list of names from said source file (or for this example table A1:D9)

I need to get Min of one column but also need to not get zeros if one of criteria is not met. meaning if a certain name on column F is not found under the date on Row 1, I need it to NOT give zeros.

I gonna format it in date-and-time format and will use it to count duration so if it returns zeros, the next formula will count from 1899 which will throw it off.

Thanks in advance

question from:https://stackoverflow.com/questions/65896885/need-minifs-to-not-return-0-if-conditions-not-met

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...