airforceone
Board Regular
- Joined
- Feb 14, 2022
- Messages
- 201
- Office Version
- 2019
- 2016
- Platform
- Windows
It's been 2 weeks now since I started a mini project but my clogged brain won't cooperate with me
I hate to burden but can anyone help me, given the sample data I would like to merge all Med Category and its corresponding grams and value (number of Med per Unique Numbers Varies)
I hope I explained it clearly
I hate to burden but can anyone help me, given the sample data I would like to merge all Med Category and its corresponding grams and value (number of Med per Unique Numbers Varies)
I hope I explained it clearly
Online File.xlsx | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | |||
1 | UNIQUE NUMBER | UNDER | DATE | CLASS | MED | Grams | Value | MED | Grams | Value | MED | Grams | Value | MED | Grams | Value | ||
2 | A0001 | PHA 1 | 2016.01.20 | OTC | VIT - A | 1 | 5 | |||||||||||
3 | A0002 | PHA 2 | 2016.03.18 | NON-TAKERS | VIT - B | 1 | 5 | VIT - E | 3 | 15 | ||||||||
4 | A0003 | PHA 3 | 2016.04.19 | OTC | VIT - C | 2 | 10 | VIT - C | 4 | 20 | VIT - C | 1 | 5 | |||||
5 | A0004 | PHA 4 | 2016.04.22 | SIGNED | VIT - D | 3 | 15 | VIT - D | 5 | 25 | VIT - D | 1 | 5 | VIT - C | 1 | 5 | ||
6 | A0005 | PHA 5 | 2016.05.25 | NON-TAKERS | VIT - D | 4 | 20 | VIT - E | 6 | 30 | VIT - E | 2 | 10 | |||||
7 | A0006 | PHA 6 | 2016.06.23 | OTC | VIT - E | 5 | 25 | |||||||||||
8 | ||||||||||||||||||
9 | ||||||||||||||||||
10 | EXPECTED OUTPUT | |||||||||||||||||
11 | UNIQUE NUMBER | UNDER | DATE | CLASS | MED | Grams | Value | MED | Grams | Value | MED | Grams | Value | MED | Grams | Value | ||
12 | A0001 | PHA 1 | 2016.01.20 | OTC | VIT - A | 1 | 5 | |||||||||||
13 | A0002 | PHA 2 | 2016.03.18 | NON-TAKERS | VIT - B | 1 | 5 | VIT - E | 3 | 15 | ||||||||
14 | A0003 | PHA 3 | 2016.04.19 | OTC | VIT - C | 7 | 35 | |||||||||||
15 | A0004 | PHA 4 | 2016.04.22 | SIGNED | VIT - D | 9 | 45 | VIT - C | 1 | 5 | ||||||||
16 | A0005 | PHA 5 | 2016.05.25 | NON-TAKERS | VIT - D | 4 | 20 | VIT - E | 8 | 40 | ||||||||
17 | A0006 | PHA 6 | 2016.06.23 | OTC | VIT - E | 5 | 25 | |||||||||||
VITs |