SUMIFS with a dynamic SUM range

ac123

New Member
Joined
Oct 17, 2017
Messages
1
Hi, I'm trying to prepare a reporting tool that will let me see cost and head count sortable by time period.

I can do a countifs or sumifs function easily enough sorting by Division/location/role (columns A-C) if I target the formula to a particular date column. However, I want to be able to change the sum/count range by just changing the date field, and have the sum range pick up and adjust to the date field.

Essentially, how do I do a sumifs function so that the column picked up in the SUM range (columns D-I in example below) changes according to the month I select?

Any help appreciated

ABCDEFGHI
1DivisionLocationRoleJanFebMarAprMayJun
2ProductionUSADev200020002000000
3ProductionUSATesting010001000100000
4ProductionEUDev300030003000300030003000
5ProductionEUTesting150015001500000
6Sales and MktingUSASales200020002000200020002000
7Sales and MktingUSAMkting002000200020002000
8ManagementUSACEO400040004000400040004000
9ManagementUSAFinance200020002000200020002000

<tbody>
</tbody>
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,214,979
Messages
6,122,557
Members
449,088
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top