Forum Discussion
Sourav91
Oct 11, 2022Copper Contributor
Excel Formula to create an organized Data Sheet from an unorganized one.
Hi,
I am practicing and I am just stuck with a problem if we have an unorganized list given to us
(as it is given below).
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | |
| 1 | Invoice | Product Name | Quantity | Rate | Amount | Invoice | Product Name | Quantity | Rate | Amount | Invoice | Product Name | Quantity | Rate | Amount | Invoice | Product Name | Quantity | Rate | Amount |
| 2 | C100 | BB | 525 | 290 | 152250 | |||||||||||||||
| 3 | C101 | AD | 400 | 200 | 80000 | |||||||||||||||
| 4 | C102 | GH | 700 | 180 | 126000 | |||||||||||||||
| 5 | C103 | HJ | 320 | 120 | 157892 |
So as you can see the Raw data is from (A1 - O5) and has multiple matching headers from (A1 - O1).
Now I want to create a formula so that all this data organized inside (P2 - T5) based on there headers (P1 - T1) as below:
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | |
| 1 | Invoice | Product Name | Quantity | Rate | Amount | Invoice | Product Name | Quantity | Rate | Amount | Invoice | Product Name | Quantity | Rate | Amount | Invoice | Product Name | Quantity | Rate | Amount |
| 2 | C100 | BB | 525 | 290 | 152250 | C100 | BB | 525 | 290 | 152250 | ||||||||||
| 3 | C101 | AD | 400 | 200 | 80000 | C101 | AD | 400 | 200 | 80000 | ||||||||||
| 4 | C102 | GH | 700 | 180 | 126000 | C102 | GH | 700 | 180 | 126000 | ||||||||||
| 5 | C103 | HJ | 320 | 120 | 157892 | C103 | HJ | 320 | 120 | 157892 |
Please help me out thankyou.