Forum Discussion

michiel1982's avatar
michiel1982
Copper Contributor
Jun 14, 2020
Solved

Cell settings

Dear, I have a formula in excel, the formula works (below the full formula). When I copy this formula to certain cells of my sheet than I get #values! back. I know excel quiet a bit, but can't figure...
  • hynguyen's avatar
    hynguyen
    Jun 17, 2020

    michiel1982 The screenshot makes the troubleshooting much easier. I guess you want to find the lowest value in column K if column H matches your desired product "Paper". Because you use a range in IF statement instead of a single cell, you will have to use CTRL + SHIFT + ENTER after typing your formula (while your cursor remains in the cell) so that there is curly bracket { } wrapping around your formula to make it an array one.

    Please see the screenshot. Just a single Min(if) array formula should return your desired outcome. Note that I test with adding another Paper at the end of the range to see if it returns the right result.

     

    If you have MINIFS function available in Excel, I suggest you use it instead of array formula. See its use in the below screenshot with same result:

Resources