Multiple Criteria Array Formula

PGD15

Board Regular
Joined
Aug 5, 2016
Messages
137
Hi there,

I am looking to write a multiple criteria array formula and I am stuggling.

I want to say from the values in column a that equal are an exact match to the word june (or a cell reference),
choose the largest value in column D which is not equal to zero, but has to be from June's data field.

This issue I am having is returning the largest value.

effectively im trying find a formula for a document which updates daily and I only want to see the largest 'sales' value from june.

due to the nature I cannot share the document :(
 
Last edited:

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Try this entered as an array with CTRL + SHIFT + ENTER

=MAX(IF(A1:A20="June",IF(D1:D20<>0,D1:D20)))
 
Upvote 0
Theres this depending on your version of excel too:

=MAXIFS(D:D,A:A,"June")
 
Upvote 0

Forum statistics

Threads
1,215,009
Messages
6,122,674
Members
449,091
Latest member
peppernaut

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