Hi,
I have a data set with multiple columns. See below.
[TABLE="width: 888"]
<colgroup><col span="5"><col><col></colgroup><tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD]Order[/TD]
[TD]Rcvr-Order[/TD]
[TD]Month[/TD]
[TD]Year[/TD]
[TD]Pct.[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]332673[/TD]
[TD]901822653[/TD]
[TD]7[/TD]
[TD]2015[/TD]
[TD]1.00[/TD]
[TD][/TD]
[TD="align: right"]901822653[/TD]
[/TR]
[TR]
[TD]332673[/TD]
[TD]901822653[/TD]
[TD]5[/TD]
[TD]2016[/TD]
[TD]0.80[/TD]
[TD="align: right"]332673[/TD]
[TD="align: right"]1.84[/TD]
[/TR]
[TR]
[TD]332673[/TD]
[TD]901822653[/TD]
[TD]2[/TD]
[TD]2018[/TD]
[TD]0.04[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]332673[/TD]
[TD]901822656[/TD]
[TD]5[/TD]
[TD]2016[/TD]
[TD]0.04[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]332673[/TD]
[TD]901822657[/TD]
[TD]5[/TD]
[TD]2016[/TD]
[TD]0.04[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]332673[/TD]
[TD]901822658[/TD]
[TD]5[/TD]
[TD]2016[/TD]
[TD]0.04[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]332673[/TD]
[TD]901822720[/TD]
[TD]5[/TD]
[TD]2016[/TD]
[TD]0.04[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 888"]
<colgroup><col span="5"><col><col></colgroup><tbody></tbody>[/TABLE]
[TABLE="width: 888"]
<colgroup><col span="5"><col><col></colgroup><tbody></tbody>[/TABLE]
I have a formula on G4 =SUMIFS($E:$E,$A:$A,F4,$B:$B,G3) that returns 1.84 as an example. However I want it to return only the greatest Month/Year Combo. In this case 2, 2018 for a total of 0.04. How Can I incorporate a max function within a sumif or is there an alternative way.
Thanks in advance!
I have a data set with multiple columns. See below.
[TABLE="width: 888"]
<colgroup><col span="5"><col><col></colgroup><tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD]Order[/TD]
[TD]Rcvr-Order[/TD]
[TD]Month[/TD]
[TD]Year[/TD]
[TD]Pct.[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]332673[/TD]
[TD]901822653[/TD]
[TD]7[/TD]
[TD]2015[/TD]
[TD]1.00[/TD]
[TD][/TD]
[TD="align: right"]901822653[/TD]
[/TR]
[TR]
[TD]332673[/TD]
[TD]901822653[/TD]
[TD]5[/TD]
[TD]2016[/TD]
[TD]0.80[/TD]
[TD="align: right"]332673[/TD]
[TD="align: right"]1.84[/TD]
[/TR]
[TR]
[TD]332673[/TD]
[TD]901822653[/TD]
[TD]2[/TD]
[TD]2018[/TD]
[TD]0.04[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]332673[/TD]
[TD]901822656[/TD]
[TD]5[/TD]
[TD]2016[/TD]
[TD]0.04[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]332673[/TD]
[TD]901822657[/TD]
[TD]5[/TD]
[TD]2016[/TD]
[TD]0.04[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]332673[/TD]
[TD]901822658[/TD]
[TD]5[/TD]
[TD]2016[/TD]
[TD]0.04[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]332673[/TD]
[TD]901822720[/TD]
[TD]5[/TD]
[TD]2016[/TD]
[TD]0.04[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 888"]
<colgroup><col span="5"><col><col></colgroup><tbody></tbody>[/TABLE]
[TABLE="width: 888"]
<colgroup><col span="5"><col><col></colgroup><tbody></tbody>[/TABLE]
I have a formula on G4 =SUMIFS($E:$E,$A:$A,F4,$B:$B,G3) that returns 1.84 as an example. However I want it to return only the greatest Month/Year Combo. In this case 2, 2018 for a total of 0.04. How Can I incorporate a max function within a sumif or is there an alternative way.
Thanks in advance!