MagsinoAS13
New Member
- Joined
- Jul 9, 2018
- Messages
- 6
Please help me look for a formula to get the Max and Min value based on given criteria.
[TABLE="width: 446"]
<tbody>[TR]
[TD]Client[/TD]
[TD]Campaign Name[/TD]
[TD]Sent[/TD]
[TD]Unique Opens[/TD]
[TD]Opens rate[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign1[/TD]
[TD]20[/TD]
[TD]14[/TD]
[TD]70.00%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign2[/TD]
[TD]18[/TD]
[TD]11[/TD]
[TD]61.11%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign3[/TD]
[TD]10[/TD]
[TD]8[/TD]
[TD]80.00%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign4[/TD]
[TD]9[/TD]
[TD]6[/TD]
[TD]66.67%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign5[/TD]
[TD]5172[/TD]
[TD]2140[/TD]
[TD]41.86%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign6[/TD]
[TD]129[/TD]
[TD]85[/TD]
[TD]65.89%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign7[/TD]
[TD]5[/TD]
[TD]3[/TD]
[TD]60.00%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign8[/TD]
[TD]13028[/TD]
[TD]7061[/TD]
[TD]55.16%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign9[/TD]
[TD]9407[/TD]
[TD]5234[/TD]
[TD]56.69%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign10[/TD]
[TD]1072[/TD]
[TD]536[/TD]
[TD]52.09%[/TD]
[/TR]
</tbody>[/TABLE]
RESULT
[TABLE="width: 493"]
<tbody>[TR]
[TD]Client[/TD]
[TD]Sheet[/TD]
[TD]Min Open[/TD]
[TD]Max Open[/TD]
[/TR]
[TR]
[TD]Client Name1[/TD]
[TD]Product1[/TD]
[TD]41.86%[/TD]
[TD]56.69%[/TD]
[/TR]
[TR]
[TD]Client Name2[/TD]
[TD]Product2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Criteria: The sent must be higher than 1000 to get the Max and Min Open Rate. In the example above, there are 4 rows with more than 1000 sent. So the Max Open Rate is 56.69% and Min Open Rate is 41.86. If the Sent column has no value higher than 1000, just get the normal Max and Min. In this case, Max is 80% and Min is 41.86%.
Any help is very much appreciated.
Thanks.
[TABLE="width: 446"]
<tbody>[TR]
[TD]Client[/TD]
[TD]Campaign Name[/TD]
[TD]Sent[/TD]
[TD]Unique Opens[/TD]
[TD]Opens rate[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign1[/TD]
[TD]20[/TD]
[TD]14[/TD]
[TD]70.00%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign2[/TD]
[TD]18[/TD]
[TD]11[/TD]
[TD]61.11%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign3[/TD]
[TD]10[/TD]
[TD]8[/TD]
[TD]80.00%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign4[/TD]
[TD]9[/TD]
[TD]6[/TD]
[TD]66.67%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign5[/TD]
[TD]5172[/TD]
[TD]2140[/TD]
[TD]41.86%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign6[/TD]
[TD]129[/TD]
[TD]85[/TD]
[TD]65.89%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign7[/TD]
[TD]5[/TD]
[TD]3[/TD]
[TD]60.00%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign8[/TD]
[TD]13028[/TD]
[TD]7061[/TD]
[TD]55.16%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign9[/TD]
[TD]9407[/TD]
[TD]5234[/TD]
[TD]56.69%[/TD]
[/TR]
[TR]
[TD]Product1[/TD]
[TD]Campaign10[/TD]
[TD]1072[/TD]
[TD]536[/TD]
[TD]52.09%[/TD]
[/TR]
</tbody>[/TABLE]
RESULT
[TABLE="width: 493"]
<tbody>[TR]
[TD]Client[/TD]
[TD]Sheet[/TD]
[TD]Min Open[/TD]
[TD]Max Open[/TD]
[/TR]
[TR]
[TD]Client Name1[/TD]
[TD]Product1[/TD]
[TD]41.86%[/TD]
[TD]56.69%[/TD]
[/TR]
[TR]
[TD]Client Name2[/TD]
[TD]Product2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Criteria: The sent must be higher than 1000 to get the Max and Min Open Rate. In the example above, there are 4 rows with more than 1000 sent. So the Max Open Rate is 56.69% and Min Open Rate is 41.86. If the Sent column has no value higher than 1000, just get the normal Max and Min. In this case, Max is 80% and Min is 41.86%.
Any help is very much appreciated.
Thanks.