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

Hamitoco

New Member
Joined
Oct 13, 2019
Messages
2
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.
 

alansidman

Well-known Member
Joined
Feb 26, 2007
Messages
5,034
Office Version
2019
Platform
Windows
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
 

Forum statistics

Threads
1,077,855
Messages
5,336,782
Members
399,102
Latest member
chudson1

Some videos you may like

This Week's Hot Topics

Top