I need a formula to populate B4 thru B16, based on the following conditions. I need to sum up all the values in column K (sheet 'SAP PM' top) that have the value of B1 (Sheet 'Cost CM of Location' bottom), in columns C (sheet 'SAP PM' top) and for the month specified in B4 thru B16. B1 is not a fixed value but is linked to a different sheet that has a dropped down list, so If I change the value B1 will change, and so should B4 thru B16. For example, B1 is showing 11697821, so in B$ the value should be adding all the cost from column K, in which column C has the same value as B1 and column H fall in the month of April, since there's only one row this value should be $1309.05. Please see figure below.
I don't know much on vba so mostly I work with formulas in cells or multiple cells.
Thanks in advance for the help.
Bookmarks