Vishaal
Well-known Member
- Joined
- Mar 16, 2019
- Messages
- 543
- Office Version
- 2010
- 2007
- Platform
- Windows
- Web
we want to do following
first we want to use unique value from sheet1!B1:B to Sheet2!B1
after that sum if condition match in Sheet2!C2
after that sum if condition if match in Sheet2!D2
query sheet
Result Sheet
first we want to use unique value from sheet1!B1:B to Sheet2!B1
after that sum if condition match in Sheet2!C2
after that sum if condition if match in Sheet2!D2
query sheet
Book1 | |||||
---|---|---|---|---|---|
B | C | D | |||
1 | Code | No | Amount | ||
2 | 847-1998 | 1 | 450 | ||
3 | sde-feb-2023 | 4 | 950 | ||
4 | sde/SEP/1998 | 25 | 5674 | ||
5 | dfe-April-24 | 65 | 87 | ||
6 | 852-1998 | 6 | 98 | ||
7 | 8754 | 39 | 9310 | ||
8 | 9874 | 60 | 8400 | ||
9 | 909-1981 | 67 | 987 | ||
10 | 736 | 21 | 2900 | ||
11 | dde-NOV-1075 | 67 | 98 | ||
12 | ddf-DEC-1975 | 67 | 999 | ||
13 | 847-1998 | 5 | 540 | ||
14 | sde-feb-2023 | 4 | 950 | ||
15 | 909-1981 | 3 | 3 | ||
Sheet1 |
Result Sheet
Book1 | |||||
---|---|---|---|---|---|
B | C | D | |||
1 | Code | No | Amount | ||
2 | 847-1998 | 6 | 990 | ||
3 | sde-feb-2023 | 8 | 1900 | ||
4 | sde/SEP/1998 | 25 | 5674 | ||
5 | dfe-April-24 | 65 | 87 | ||
6 | 852-1998 | 6 | 98 | ||
7 | 8754 | 39 | 9310 | ||
8 | 9874 | 60 | 8400 | ||
9 | 909-1981 | 70 | 990 | ||
10 | 736 | 21 | 2900 | ||
11 | dde-NOV-1075 | 67 | 98 | ||
12 | ddf-DEC-1975 | 67 | 999 | ||
Sheet2 |