Hi all,
I currently have these 2 formulas that i require some help with:
1) =IFERROR(ROUNDUP(SUMIFS('Combined Data'!$M$5:$M$437,'Combined Data'!$A$5:$A$437,'Formula Testing'!$B$4,'Combined Data'!$C$5:$C$437,'Formula Testing'!C$7,'Combined Data'!$M$5:$M$437,">0")/COUNTIFS('Combined Data'!$A$5:$A$437,$B$4,'Combined Data'!$C$5:$C$437,'Formula Testing'!C$7,'Combined Data'!$M$5:$M$437,">0")*'Formula Testing'!C$8,0),"-")
2) =IFERROR(ROUNDUP(TRIMMEAN(IF('Combined Data'!$A$5:$A$437=$B$4,IF('Combined Data'!$C$5:$C$437=C$7,IF(ISNUMBER('Combined Data'!$M$5:$M$437),'Combined Data'!$M$5:$M$437))),0.1)*C$25,0),"")
Currently, what these formulas do is it calculates an average of data depending on what country is in cell B4.
Both formulas work well for me, but now the issue comes when i want to group countries together.
The countries i have to choose from in B4 are in a drop down list and are all individually listed.
Now, I want to group certain countries together. For example, countries like Thailand, Vietnam and Indonesia will be considered "SEA" for South East Asia.
How can i still work my formulas such that, if "SEA" is selected, my formula uses data from ALL those countries instead of just a specific country?
Thanks all!!
I currently have these 2 formulas that i require some help with:
1) =IFERROR(ROUNDUP(SUMIFS('Combined Data'!$M$5:$M$437,'Combined Data'!$A$5:$A$437,'Formula Testing'!$B$4,'Combined Data'!$C$5:$C$437,'Formula Testing'!C$7,'Combined Data'!$M$5:$M$437,">0")/COUNTIFS('Combined Data'!$A$5:$A$437,$B$4,'Combined Data'!$C$5:$C$437,'Formula Testing'!C$7,'Combined Data'!$M$5:$M$437,">0")*'Formula Testing'!C$8,0),"-")
2) =IFERROR(ROUNDUP(TRIMMEAN(IF('Combined Data'!$A$5:$A$437=$B$4,IF('Combined Data'!$C$5:$C$437=C$7,IF(ISNUMBER('Combined Data'!$M$5:$M$437),'Combined Data'!$M$5:$M$437))),0.1)*C$25,0),"")
Currently, what these formulas do is it calculates an average of data depending on what country is in cell B4.
Both formulas work well for me, but now the issue comes when i want to group countries together.
The countries i have to choose from in B4 are in a drop down list and are all individually listed.
Now, I want to group certain countries together. For example, countries like Thailand, Vietnam and Indonesia will be considered "SEA" for South East Asia.
How can i still work my formulas such that, if "SEA" is selected, my formula uses data from ALL those countries instead of just a specific country?
Thanks all!!