Hello excel gurus:
Good day - I am working on an budget template with 2 tabs. One tab holds weekly data and the other tab tabulates the weekly data into monthly data.
I have attached a sample of the file. This sample file of course is very basic but the actual file has thousands of lines of data but essentially the structure is very similar.
Currently, in the 'monthly data' tab I'm using a SUMIFS function to sum a range from the 'weekly data' tab. I believe however, that a superior function or combined function could be used instead which will tabulate the data from the 'weekly tab'. I'm thinking either SUMPRODUCT or an INDEX/MATCH or maybe a VLOOKUP combined with a SUMIFS. I prefer not to use SUMIFS because the weekly data is not so neatly listed and there are blank spaces in between lines. With the SUMIFS i have to keep on changing the range which is quite cumbersome.
The function has to look at 2 criteria: Lookup a code in column A of the 'monthly tab' and then sum by month all of the values relating to this specific code which exists in the 'weekly data' tab.
For example, in cell B4 of the 'monthly tab' I would like the formula to look up '4000' (Cell A4 in the monthly tab) in the 'weekly data' tab and sum the values in the range B3:F3 from the 'weekly data' tab. I want to make clear that I do need the function to lookup a value from a row and a column however the the function is not returning one value but a sum of range of values.
Any help would be much appreciated!!
Bookmarks