Obtaining sets of data that fall on a specific date or withing a specific date range.

Hamitoco

New Member
Joined
Oct 13, 2019
Messages
5
Hi,

I have a spreadsheet which contains information for certain sales. Below is a basic representation of my dataset (the actual spreadsheet contains more columns of information and has new entries added daily from multiple people)
'Sales Data' worksheet
DateORDER #Product CodeQty
10-Oct102SKMDRT5
10-Oct103IMRDDT10
10-Oct104PMYTUV7
10-Oct105SKMDRT3
11-Oct106PDYHTW4
11-Oct107FTRHYGQ15
11-Oct108PIMHKLO5
11-Oct109PMYTUV12
12-Oct110IMRDDT3
12-Oct111KJULOIR2
12-Oct112LKJULOIR2
12-Oct113LKJUTYV9

<tbody>
</tbody>

I would like to know if i could create a formula on another worksheet that will provide me with the product codes and total quantities for a specific date or date range. for example if I'm interested in the 10th October i can insert those date and it will return the following
'Data summary' worksheet
DateProduct Codeqty
10-OctSKMDRT8
10-OctIMRDDT10
10-OctPMYTUV7

<tbody>
</tbody>

Product code SKMDRT appears once with the combined qty for the 2 sales on that date. Or if I'm interested in looking at data form the 10th - 11th it returns
DateProduct CodeQTY
10-OctSKMDRT8
10-OctIMRDDT10
10-OctPMYTUV7
11-OctPDYHTW4
11-OctFTRHYGQ15
11-OctPMYTUV12
11-OctPIMHKLO5

<tbody>
</tbody>

I know the simplest way is to apply a filter to my dataset however i want to avoid this as the sales data has alot of information and is continuously updated, this is why i would like to create a separate sheet which can provide me with a summary for specific dates without affecting the main data. I have also tried a pivot table but that doesn't seem to work for what i am after. i have been reading up about creating an array formula with index/match but have had no luck applying to my data set.

any help would be much appreciated,
Thankyou.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
A Pivot Table will do exactly what you want.

vABCDEFGH
1DateORDER #Product CodeQty
243748102SKMDRT5DateProduct CodeSum of Qty
343748103IMRDDT1043748
443748104PMYTUV7IMRDDT10
543748105SKMDRT3PMYTUV7
643749106PDYHTW4SKMDRT8
743749107FTRHYGQ1543749
843749108PIMHKLO5FTRHYGQ15
943749109PMYTUV12PDYHTW4
1043750110IMRDDT3PIMHKLO5
1143750111KJULOIR2PMYTUV12
1243750112LKJULOIR243750
1343750113LKJUTYV9IMRDDT3
14KJULOIR2
15LKJULOIR2
16LKJUTYV9
17
 
Upvote 0

Forum statistics

Threads
1,214,400
Messages
6,119,289
Members
448,885
Latest member
LokiSonic

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