Vlookup containing a date condition

TomTomExcel

New Member
Joined
Apr 4, 2022
Messages
1
Office Version
  1. 365
Hi,

I am looking for some help.

At work i have a report containing product, quantity and dates. I would like to set up a formula to combine all qty's by weekly in a report listing all products. (See example of delivery report "attachment capture 1")

I usually use Vlookup to extract total quantity from the report. But i cannot find a way to extract the quantity within certain dates, in this case per week. (see how I want my report to look like in "attachment capture")


Cheers,
Tom
 

Attachments

  • Capture.PNG
    Capture.PNG
    40.3 KB · Views: 6
  • Capture 1.PNG
    Capture 1.PNG
    18.3 KB · Views: 6

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hi Tom:
A SUMIFS might do you some good.

Try this. Mind you, since I we can't see the Column and Row addressing in your screenshots, I've used descriptions rather than cell addressing. Also, you will need to include one more cell that has the week prior to your WK1 Ending date, so you can collect the correct counts there.

Excel Formula:
=SUMIFS([Your Quantity Column], [Your Product Column] = [The Product Column in your Summary], [Delivery Date Column] > [The Previous Week Ending Date in your Summary], [Delivery Date Column] <= [The Current Week Ending Date in your Summary]
 
Upvote 0

Forum statistics

Threads
1,214,853
Messages
6,121,935
Members
449,056
Latest member
denissimo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top