Why is My MAXIFS Alternative Not working?

rob51852

Board Regular
Joined
Jun 27, 2016
Messages
190
Office Version
  1. 2016
Platform
  1. Windows
Hi,

I don't have the MAXIFS function in my version of Excel so I am trying to achive the same result using an array.

I thought this would work but it just gives an error when entered with CSE. I am trying to find the max value in LP where the criteria are met.

=MAX(IF(DataTable[Date]>E8,IF(DataTable[ID]=A8,IF(DataTable[Name]=C8),DataTable[LP])))

Can anyone see the problem?

Thanks
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
What error are you seeing? The formula looks like it should work so the most likely cause would be an error in the table is being carried through to your formula.
If that is the case then the preferable fix would be to correct the errors at the source although this formula would work as long as at least one row meets the criteria, otherwise it will show a #DIV/0! error which can be suppressed with IFERROR.
Excel Formula:
=AGGREGATE(14,6,DataTable[LP]/(DataTable[Date]>E8)/(DataTable[ID]=A8)/(DataTable[Name]=C8),1)
 
Upvote 0

Forum statistics

Threads
1,214,947
Messages
6,122,411
Members
449,081
Latest member
JAMES KECULAH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top