Complex formula help

Sunshine8790

Board Regular
Joined
Jun 1, 2021
Messages
86
Office Version
  1. 365
Platform
  1. Windows
What formula do I use in this scenario:

I want the formula to return the Text from Column A.
I want it to return that text based on whatever the max value is in Column I.
I need that max value in Column I to be based on criteria from Columns D and E.

Example:

Name 1MondayRed7
Name 2TuesdayRed0
Name 3MondayRed3
Name 4TuesdayBlue1

So in the example above, I would need the formula to return "Name 1" based on the fact it's the highest value in Column I with the criteria of Monday and Red from Columns D and E.

And then I would need the formula in a different cell to return "Name 4" based on the fact it's the highest (and only) value in Column I with the criteria of Tuesday and Blue from D and E.

I hope that makes sense. Help appreciated.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
How about
Excel Formula:
=TAKE(SORT(FILTER(A2:I100,(D2:D100="Monday")*(E2:E100="red")),9,-1),1,1)
 
Upvote 1
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,326
Members
452,635
Latest member
laura12345

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