SOLVED

Entering a sumif formula over multiple sheets

Copper Contributor

I am attempting to enter a sumif formula over multiple tabs by highlighting the tabs required. I have a seperate tabs for each week of the year and another containing the sales data. All of the criteria is within the same workbook:

 

=SUMIF('Sales data'!B1:BL1,'Week 1'!H4,'Sales data'!B35:BL35)

 

The purpose is to pull through the relevant weekly figure from 'sales data' into each separate weekly worksheet. B1:BL1 relates to the week numbers and B35:BL35the sales figure. H4 then relates to the week number in the individual weekly tabs. Every sheet is looking at 'Week 1' instead of selecting the H4 from the sheet with the formula in. I don't want to have to enter the formula individually on each of the 52 tabs!

 

TIA

2 Replies
best response confirmed by Annlee107 (Copper Contributor)
Solution

@Annlee107 

Use

=SUMIF('Sales Data'!B1:BL1,H4,'Sales Data'!B35:BL35)
1 best response

Accepted Solutions
best response confirmed by Annlee107 (Copper Contributor)
Solution

@Annlee107 

Use

=SUMIF('Sales Data'!B1:BL1,H4,'Sales Data'!B35:BL35)

View solution in original post