Home » excel » excel – Non-adjecent cells as input to array function (MIN and ISBLANK)

excel – Non-adjecent cells as input to array function (MIN and ISBLANK)

Posted by: admin May 14, 2020 Leave a comment


This question was asked and as the answer to the specific question was a typo it was deleted:


Here is the question:

I’m trying to find the minimum of two (non-adjacent) cells per column and sum these for a number of columns (13 in total).

What complicates it is that I’d like the function to treat empty cells as zero.

I can get it to work as long as the cells are adjacent, but when they are not, excel gives a “too many arguments for this function” pop-up.

The formula I have for adjecent cells is this (not exactly pretty, sorry!):


This gives the desired output in the column “person months total”.

enter image description here

I have tried to use the CHOOSE function for non-adjacent cells as a test (similar to this question), but this gives the “There’s something wrong with this formula” pop-up


So now I’m wondering, can this be done at all? Am I missing something?

I would appreciate the help!

Kind regards,

While the answer to this question was that there was a missing ( after the first CHOOSE, I started working on a simpler version to that hideous long formula and wanted to post it here. So the question is, “Is there a simpler method not using vba?”

How to&Answers:

With the ranges actually being adjacent by rows, but comparing column by column we can use MMULT in an array form. By using MMULT we can create an array of the smallest numbers and 0s and sum them:


This is an array formula and must be confirmed with Ctrl-Shift-Enter instead of Enter when exiting edit mode.

enter image description here

EDIT: way over thought it, this is much simpler:


Still an array formula.