Welsh Mark3

Board Regular
Joined
Apr 7, 2014
Messages
164
Office Version
  1. 365
MonthValueDesired Result
11020
12020
22050
25050
3150150
35150

<tbody>
</tbody>

I am treying to write a formula that finds the maximum value in a given mnmth. The table attempts to show what i am trying to do, the desired result is the value i am trying to produce.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
If you have MAXIFS, try
=MAXIFS($B$2:$B$7,$A$2:$A$7,A2)

otherwise
=MAX(IF($A$2:$A$7=A2,$B$2:$B$7))
This needs to be confirmed with Ctrl Shift Enter, rather than just Enter
 
Upvote 0
=MAX(IF($A$2:$A$7=A2,$B$2:$B$7)) seems to give me the largest value from the entire range but not for each month.
I have used the fill down function to drage the formula down, Do I need to try something? And again I appreciate your help

 
Upvote 0
Did you confirm it with Ctrl Shift Enter?
If so you shold see the formula wrapped in {}
 
Upvote 0
Do I need to select the entire array of cells and simply select Ctrl Shift Enter? I do not see the fomula wrapped
 
Upvote 0
Select the first cell the formula is in, press F2, then Ctrl Shift Enter, then drag the formula down.
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,976
Messages
6,122,539
Members
449,088
Latest member
RandomExceller01

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