CaptainGravyBum
Board Regular
- Joined
- Dec 1, 2023
- Messages
- 77
- Office Version
- 365
- Platform
- Windows
Hello,
I'm in the need of a formula that is eluding me at the moment. From the sheet, I need column D to show the count of column C when column A & B data matches.
The match could be anywhere in the sheet - currently it is in order.
You can see that rows 3&4, 9>11, 14&15 and 23&24 are matched, so I only need the total on one of the rows when this happens - as illustrated.
Thanks in advance
I'm in the need of a formula that is eluding me at the moment. From the sheet, I need column D to show the count of column C when column A & B data matches.
The match could be anywhere in the sheet - currently it is in order.
You can see that rows 3&4, 9>11, 14&15 and 23&24 are matched, so I only need the total on one of the rows when this happens - as illustrated.
Thanks in advance
Example.xlsx | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
2 | Article number | Order number | Count | Total | ||
3 | PBB12(MKM1) | 204021 | 250 | |||
4 | PBB12(MKM1) | 204021 | 250 | 500 | ||
5 | PFCF11E | 204012 | 2 | 2 | ||
6 | PFCF11E | 204045 | 6 | 6 | ||
7 | PFCF11E | 203980 | 60 | 60 | ||
8 | PFCF11E | 204085 | 10 | 10 | ||
9 | PBTF12 | 204125 | 10 | |||
10 | PBTF12 | 204125 | 20 | |||
11 | PBTF12 | 204125 | 50 | |||
12 | PBTF12 | 204125 | 20 | 100 | ||
13 | PBTF12 | 204127 | 10 | 10 | ||
14 | PFCF11E | 203134 | 45 | |||
15 | PFCF11E | 203134 | 15 | 60 | ||
16 | PBB12(JE1) | 204136 | 500 | 500 | ||
17 | PBTF12 | 204136 | 10 | 10 | ||
18 | PBB12(JE1) | 204225 | 500 | 500 | ||
19 | PBB12(JE1) | 204229 | 500 | 500 | ||
20 | PFCF11E | 204284 | 10 | 10 | ||
21 | PBTF12 | 204278 | 52 | 52 | ||
22 | TGB | 204278 | 7 | 7 | ||
23 | PBB12(MKM1) | 204402 | 30 | |||
24 | PBB12(MKM1) | 204402 | 300 | 330 | ||
25 | PFCF11E | 204450 | 2 | 2 | ||
Sheet1 |