A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
OK, got it now. Sticking to the issue of the formula you need, you're kind of screwed since the text in Column A of Bakery Orders does not match the text in column A in the order sheet (and it's split into two columns), so you're going to have to do some manual editing of this formula.
I think the easiest method to use is SUMIF. In "Order Sheets" cell B11, put:
=SUMIF('Bakery Orders'!$E$5:$O$5,'Order Sheets'!$B$7+1,'Bakery Orders'!$E8:$O8)
As you copy this first across to the Uncut column and down to the other rows on "Order Sheets" you will need to manually update the row in the last part of the formula. I'll explain what each bit does so you fully understand it;
'Bakery Orders'!$E$5:$O$5 is the range of dates to be searched for a match with tomorrow's date. This range is constant for all cells on "Order Sheets".
'Order Sheets'!$B$7+1 is tomorrow's date (assuming B7 contains today's date). This is what will be searched for in the first range. This range is constant for all cells on "Order Sheets".
'Bakery Orders'!$E8:$O8 is the row containing the data you wat to return. So for "Order Sheet" cell D11, you would put 'Bakery Orders'!$E9:$O9 because row 9 on the Bakery Orders sheet has the 900g Uncut ammount for white bread.
Do this for all cells in "Orders Sheet". You should end up with cell B22 (or D22 if rye bread is uncut???) containing:
=SUMIF('Bakery Orders'!$E$5:$O$5,'Order Sheets'!$B$7+1,'Bakery Orders'!$E$68:$O$68)
since row 68 on Bakery Order sheet is for Rye Bread.
Make sense?
Did the print macro work as planned?
Cheers
Rich