Dec 01 2019 09:56 AM
Hey there,
I have the following dataset
City | Times (h) |
Seattle | 5 |
Tacoma | 8 |
Oakland | 9 |
Seattle | 4 |
Tacoma | 10 |
Oakland | 6 |
and require min for following
City | Times (h) |
Oakland | |
Seattle | |
Tacoma |
But when i use DMIN function the result shown for oakland is 4 instead of 6.
I am using office 365.
Dec 01 2019 10:00 AM
Rather the function results in Value Error
Dec 03 2019 10:13 AM
Hello! You've posted your question in the Community Discussion space, which is intended for discussion around the Tech Community website itself, not product questions. I'm moving your question to the Excel space - please post Excel questions here in the future.
Dec 03 2019 11:13 AM
Dec 03 2019 11:17 AM
No Sir,
I got the answer. I was not following the rule of DMIN function.
I got the result.
Dec 03 2019 11:26 AM
According to DMIN function, 4 is the correct answer as it Returns the smallest number in a field (column) of records in a list or database that matches conditions that you specify. In the example found at the bottom, it is shown to be an OR conditional. Meaning return me the smallest number in Times(h) where the record is Oakland OR Seattle OR Tacoma.
I think you would be better off MINIFS:
=MINIFS($C$3:$C$8,$B$3:$B$8,E3)
Dec 03 2019 11:29 AM
Yes Sir,
I was working with DMIN function.
I found out that DMIN function doesn't handle two results simultaneously.
I have selected 3 results simultaneously so, the result was the min of all cell.
Thanks for the MINIFS function.