Re: SUMIFS in VBA Help needed please
- I'm trying to track all changes that occur in worksheet "Main" and document them in worksheet "Tracking"
- Once old value and new value are reported, I'm calculating the change (in value) and the remaining balance for which i need the sumproduct formula
- The SumProduct sums all the changes in transit (column H) for a given product (column A), warehouse (Column D) and date (Column E) and returns a surplus or a deficit (see example below)
Example: For product1, region 1, warehouse1 and December 2018, I add 5 days of transit. My deficit will be -5.
Now, for product1, region2, warehouse1 and December 2018, I add 6 days of transit. My deficit will be -5 + 6 = 1
Hope this clarifies.
Thanks again for your help.