Hi All,
So I have a new project which I make weekly updates to...what I would like to do is write a SUMPRODUCT statement with three validations and one sum...should look something like this:
=sumproduct((Tab1!A1:A100=Tab2!A1)*(Tab1!B1:B100=Tab2!A2)*(Tab1!C1:C100"largest value---this is where I need help--")*(TAB1!D1:D100))
Basically I download a forecast from my customer which is rolling for 4 weeks, looks like a step ladder, here is an example:
Forecast Week 1: Week 1 FCST (100) Week 2 FCST (150) Week 3 FCST (100) Week 4 FCST (200) - -
Forecast Week 2: Week 1 (complete) Week 2 FCST(200) Week 3 FCST (150) Week 4 FCST (150) Week 5 FCST (300)
Forecast Week 3: Week 1 (complete) Week 2 (complete) Week 3 FCST (200) Week 4 FCST (100) Week 5 FCST (450) Week 6 FCST (500)
See how it is stepping down, each week becomes the most recent. I want a formula which will gather the latest Forecast based on the Part (Tab1!A1:A100), Work Week(Tab1!B1:B100), and the latest Forecast Week(Tab1!C1:C100), then sumproduct the quantities forecasted(Tab1!D1:D100).
Does this make sense...?? There should be some kind of logic I can put in to look for the latest forecast week...or maybe someone has a better suggestion...
Thanks,
Matt
Bookmarks