Okay, I need to sum based on multiple criteria. I have 2 other functional formulas, but I just found out for bonus calculations that I need to include another criteria.
=IF(C178="-","-",(SUMIFS(tma_ToursQual,tma_ToursLocation,$C178,tma_ToursMktgProg,info!$AI$2)))
C178 equal a location number, in this case location #4401
info!$AI$2 = the marketing program, which happens to be 12
I have this formula, for each of the 4 tour locations (like 4401). The others are 4402, 4412, 63, and 64. I have a named range for this table of tour locations called CP_TL2_Locations
My other formula is:
=SUMPRODUCT(--(tma_ToursLocation=$C178),(tma_ToursQual))+SUMPRODUCT(--(tma_ToursLocation=$C179),(tma_ToursQual))+SUMPRODUCT(--(tma_ToursLocation=$C180),(tma_ToursQual))+SUMPRODUCT(--(tma_ToursLocation=$C181),(tma_ToursQual))+SUMPRODUCT(--(tma_ToursLocation=$C182),(tma_ToursQual))
This formula above sums the 5 locations, but for both marketing programs (there are 2 marketing programs: 12 and 67). Either way, I need to modify one of the 2 formulas to caputure all 5 locations (there are 12 on my data table), but only for the marketing program 12. I have made multiple attempts, however when I am not getting an error that prevents me from saving the formula, I end up with a result of 0. Any ideas?
Bookmarks