Hi,
I have been struggling with this for quite some time now. I have a workbook that has many worksheets. The first two worksheets are overviews of the numbers found in the remaining worksheets. Each worksheet (excluding the first two) is a different country with many different categories on each page. I finally was able to come up with a formula that would get me what I am looking for but it will take a long time to adapt it to each category on each page. I am trying to condense the following formula:
=SUMIF(InterCountry!C:C,"=Local Coordinator Fee",InterCountry!E:E)+SUMIF(Taiwan!C:C,"=Local Coordinator Fee",Taiwan!E:E)+SUMIF(India!C:C,"=Local Coordinator Fee",India!E:E)+SUMIF(Thailand!C:C,"=Local Coordinator Fee",Thailand!E:E)
As you can see each range, criteria, and sum_range, although found on separate worksheets, are all listed in the same column letters (Column C,"=Local Coordinator Fee", Column E, respectively) for each individual formula. I have about 100 different criteria I need to adapt this formula to so if I can simply this, it would save a ton of time.
I tried incorporating INDIRECT into the formula as seen below with defining a name for the different sheets I want to use but I get a #VALUE error:
=SUMIF(INDIRECT("'"&SheetList&"'!C:C"),"=Local Coordinator Fee",INDIRECT("'"&SheetList&"'!E:E")).
Any help with this would be much appreciated!Thank you in advance.
I have been struggling with this for quite some time now. I have a workbook that has many worksheets. The first two worksheets are overviews of the numbers found in the remaining worksheets. Each worksheet (excluding the first two) is a different country with many different categories on each page. I finally was able to come up with a formula that would get me what I am looking for but it will take a long time to adapt it to each category on each page. I am trying to condense the following formula:
=SUMIF(InterCountry!C:C,"=Local Coordinator Fee",InterCountry!E:E)+SUMIF(Taiwan!C:C,"=Local Coordinator Fee",Taiwan!E:E)+SUMIF(India!C:C,"=Local Coordinator Fee",India!E:E)+SUMIF(Thailand!C:C,"=Local Coordinator Fee",Thailand!E:E)
As you can see each range, criteria, and sum_range, although found on separate worksheets, are all listed in the same column letters (Column C,"=Local Coordinator Fee", Column E, respectively) for each individual formula. I have about 100 different criteria I need to adapt this formula to so if I can simply this, it would save a ton of time.
I tried incorporating INDIRECT into the formula as seen below with defining a name for the different sheets I want to use but I get a #VALUE error:
=SUMIF(INDIRECT("'"&SheetList&"'!C:C"),"=Local Coordinator Fee",INDIRECT("'"&SheetList&"'!E:E")).
Any help with this would be much appreciated!Thank you in advance.