In a tool of ours, we have SUMIF monthly formulas within other formulas like the following:
M1 : =ConVolNA_Val*Volumes!C9*(SUMIF(UsVendVuc,$BM8,'Vendor Unit Costs'!H$319:'Vendor Unit Costs'!H$618)+C8)
M2: =ConVolNA_Val*Volumes!D9*(SUMIF(UsVendVuc,$BM8,'Vendor Unit Costs'!I$319:'Vendor Unit Costs'!I$618)+D8)
.
.
.
M60: =ConVolNA_Val*Volumes!BJ9*(SUMIF(UsVendVuc,$BM8,'Vendor Unit Costs'!BO$319:'Vendor Unit Costs'!BO$618)+BJ8)
On another sheet with formulas, we are setting up some formulas and letting the user select what month's costs to use. So, for example, if they say they want to use month 2, then the formula for the costs should reference column I on the Vendor Unit Costs sheet (i.e.we would need to use SUMIF(UsVendVuc,$BM8,'Vendor Unit Costs'!I$319:'Vendor Unit Costs'!I$618)) . Therefore, I'd like to have a formula that will automatically set the formula to use the correct column (H thru BO), depending on the month number they enter. Does anyone know how this can be done? We don't want to have to create 60 more columns of just the monthly cost formulas because this would add alot to the tool since it would have to be added for every geo, cost type, etc.
Bookmarks