barteklavlar
New Member
- Joined
- Aug 4, 2011
- Messages
- 3
I am currently setting up a worksheet for tracking costs. I have the values set up like this:
=IF(ISERROR(GETPIVOTDATA("Amount", 'Itemized Costs'!$A$3,"Date",D6,"Cost Center",C51)),0,GETPIVOTDATA("Amount", 'Itemized Costs'!$A$3,"Date",D6,"Cost Center",C51))
This works fine once I enter the date in D6 and returns the costs associated with the specific category for that date. There are costs though that are entered in dates before. Say the first worksheet will be Aug 4 2011 but I want to include all the costs from Jan 1 2011 until Aug 4 2011 while the rest of the sheets are fine just using the single day as the numbers accummulate? Is there a way of doing that by modifying this formula?
thanks in advance for any help
=IF(ISERROR(GETPIVOTDATA("Amount", 'Itemized Costs'!$A$3,"Date",D6,"Cost Center",C51)),0,GETPIVOTDATA("Amount", 'Itemized Costs'!$A$3,"Date",D6,"Cost Center",C51))
This works fine once I enter the date in D6 and returns the costs associated with the specific category for that date. There are costs though that are entered in dates before. Say the first worksheet will be Aug 4 2011 but I want to include all the costs from Jan 1 2011 until Aug 4 2011 while the rest of the sheets are fine just using the single day as the numbers accummulate? Is there a way of doing that by modifying this formula?
thanks in advance for any help