Version 4.4 is quite outdated.. it might be interesting to you that some later version introduced the MAXIFS spreadsheet function.
Version 4.4 is quite outdated.. it might be interesting to you that some later version introduced the MAXIFS and MINIFS spreadsheet function.functions.