bobbieatendido
New Member
- Joined
- Jul 13, 2016
- Messages
- 21
- Office Version
- 365
- Platform
- Windows
Hi,
Is there a way to count how many times a product was sold in a specific date range?
ROW:
ProductCode A, ProductName B
Week 1 D2 to E2
List of products sold per day
A16-Date
B16-Product sold
C16-Product name
Is there a way to count how many times a product was sold in a specific date range?
ROW:
ProductCode A, ProductName B
Week 1 D2 to E2
List of products sold per day
A16-Date
B16-Product sold
C16-Product name
Book2 | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | |||
1 | Week1 | Week2 | Week3 | Week4 | Week1 | Week2 | Week3 | Week4 | |||||||||||||
2 | 01-Jan-23 | 08-Jan-23 | 08-Jan-23 | 15-Jan-23 | 15-Jan-23 | 22-Jan-23 | 22-Jan-23 | 29-Jan-23 | 29-Jan-23 | 05-Feb-23 | 05-Feb-23 | 12-Feb-23 | 12-Feb-23 | 19-Feb-23 | 19-Feb-23 | 26-Feb-23 | |||||
3 | Product Code | Product | In | Out | In | Out | In | Out | In | Out | In | Out | In | Out | In | Out | In | Out | |||
4 | 1104-1001 | Television | 2 | ||||||||||||||||||
5 | 1104-1012 | Computer | 1 | ||||||||||||||||||
6 | 1104-1023 | Helmet | |||||||||||||||||||
7 | 1104-1024 | Candle | |||||||||||||||||||
8 | 1104-1033 | Shawl | |||||||||||||||||||
9 | 1104-1034 | Fridge | |||||||||||||||||||
10 | 1104-1035 | Magnet | |||||||||||||||||||
11 | 1104-1044 | Chair | |||||||||||||||||||
12 | 1104-1045 | Balloon | |||||||||||||||||||
13 | 1104-1055 | Goggles | |||||||||||||||||||
14 | |||||||||||||||||||||
15 | Date | Product Sold | |||||||||||||||||||
16 | 05/01/2023 | 1104-1001 | Television | ||||||||||||||||||
17 | 05/01/2023 | 1104-1012 | Computer | ||||||||||||||||||
18 | 06/01/2023 | 1104-1001 | Television | ||||||||||||||||||
19 | 07/01/2023 | 1104-1045 | Balloon | ||||||||||||||||||
20 | 12/01/2023 | 1104-1023 | Helmet | ||||||||||||||||||
21 | 12/01/2023 | 1104-1024 | Candle | ||||||||||||||||||
22 | 14/02/2023 | 1104-1033 | Shawl | ||||||||||||||||||
23 | 02/02/2023 | 1104-1034 | Fridge | ||||||||||||||||||
24 | 03/02/2023 | 1104-1035 | Magnet | ||||||||||||||||||
25 | 04/02/2023 | 1104-1044 | Chair | ||||||||||||||||||
26 | 05/02/2023 | 1104-1044 | Chair | ||||||||||||||||||
27 | 06/01/2023 | 1104-1024 | Candle | ||||||||||||||||||
28 | 05/01/2023 | 1104-1023 | Helmet | ||||||||||||||||||
29 | 06/01/2023 | 1104-1024 | Candle | ||||||||||||||||||
30 | 09/02/2023 | 1104-1035 | Magnet | ||||||||||||||||||
31 | 10/02/2023 | 1104-1033 | Shawl | ||||||||||||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
E2,G2,I2,K2,M2,O2,Q2,S2 | E2 | =D2+7 |
F2,H2,J2,L2,N2,P2,R2 | F2 | =E2 |
C16:C31 | C16 | =VLOOKUP(B16,$A$4:$B$13,2,FALSE) |