I have a worksheet that I keep a list of purchase orders.
On another sheet, I have the total dollars spent each month.
I want to also keep track of the amount of dollars spent on raw materials.
I added a column on the first worksheet and placed an “x” in the column for items that are raw material.
On the totals sheet, I tried to do a “if” statement but I can’t get it to work.
This is what I have now.
=IF(‘PURCHASE ORDERS’!B:B=”X”,SUM(‘PURCHASE ORDERS’!D:D),SUM(‘PURCHASE ORDERS’!D:D))
I wasn’t sure about what to make the false part do.
Any ideas would be appreciated.
Thanks,
Mark