Thanks again for your time. I am trying to count the number of occurrences of a minimum. An simplified example is probably best:

I have a matrix of values and want to count the number of times a minimum for the row occurs for each column. For example my matrix looks something like this [3 rows x 4 columns]. Each Row has a unique identifier I could use in a count if, as does each column if that helps.

Code:

```
Row 1 - 50,50,100,100
Row 2 - 20,25,30,30
Row 3 - 75,80,70,75
```

The result would look something like this

Code:

```
Col 1 - 2 (Min in row 1 and row 2)
Col 2 - 1 (Min in row 1)
Col 3 - 1 (Min in row 3)
Col 4 - 0 (No Min in any row)
```

I've tried various countifs but haven't been able to make it work. I'm wondering if sumproduct might be better... but I'm not good with that one.

Thanks again for your time!

Hayden