Hello,
I really hope someone can help me on this. Because this has been driving me crazy the whole day :P
I have two excel files total.xls and items.xls.
Total looks like this:
row1-> customers name, row2-> part number,row3->old part number(if available), row4-> items purchased(total of one part number and customer)
and items like this:
row1-> customers name, row2-> part number, row3-> items purchased(in a single purchase)
In items.xls are single purchases sorted by customers, part numbers and the values of the purchases, in total.xls should be displayed which customers purchased how many/how much of an item this year in total. So the formula in totals.xls compares the customers name with a range in items.xls, if it matches in one row compare the item number in the same row and if that matches as well sum up all purchased items in the rows who have this customer - part number combination.
Additionally the same for the old part numbers if they have been changed during the year, as they are combined. Somehow i can compare ranges and single cells from total.xls with a single cell out of items.xls but not with a range in items.xls.
My attempt was like this:
=SUM
(SUM
(IF
(('[items.xls]SAP Report FY0607'!$A$6:$A$3000='Total Volume FY 0607'!$A65)*('[items.xls]SAP Report FY0607'!$B$6:$B$3000='Total Volume FY 0607'!$D65),
'[items.xls]SAP Report FY0607'!$E$6:$E$3000)),
(SUM
(IF(('[items.xls]SAP Report FY0607'!$A$6:$A$3000='Total Volume FY 0607'!$A65)*('[items.xls]SAP Report FY0607'!$B$6:$B$3000='Total Volume FY 0607'!$E65),
'[items.xls]SAP Report FY0607'!$E$6:$E$3000))))
Thank you in advance,
Michael
Bookmarks