Year to date to week - Index Match & Sum Ifs function?

Jonas0

New Member
Joined
Feb 7, 2018
Messages
2
Hello Everyone!

I struggled with setting up a formula, that shows the sum of the year to date numbers of the past and current month.
In the current month it should be possible to differentiate until which week the sum should be drawn.
My guts tell me that a combination of a Index Match function and Sum if function could be the solution, but I could not find the right way..

To make the situation a bit clearer:

CountryWeek 1Week 2Week 3
China

<tbody>
</tbody>

Country
Week
Jan
Feb
Mar
China
Week 1
1000
2000
400
China
Week 2
400
750
700
China
Week 3
1200
3000
2100
China
Week 4
800
1200
300

<tbody>
</tbody>

Assuming that it is the 2. week of February, below 'Week 2' in the first table the sum of January and Week 1 & 2 of February should be displayed.

Does anyone have an idea?

I'd be very grateful for any advice.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
I forgot to mention: The second table is the 'data base' and the first table is the 'out put table'
 
Upvote 0

Forum statistics

Threads
1,216,458
Messages
6,130,757
Members
449,588
Latest member
accountant606

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