Hi Guys,
I have been stuck at this workflow, and would appreciate if you could help 🙂
The dataset is pretty much like below template, category of each type of pets and their respective quantity are presented in 2 lines of each stores. I need to provide the sum/Total quantity of these 4 different pets: cat, dog, bird and hamster.
Each pet type doesn't comes in with the same sequence in each store.Â
| StoreA | category | cat | dog | fish | bird | snake | lizard | hamster |
| StoreA | quantity | 5 | 6 | 8 | 6 | 3 | 2 | 9 |
| StoreB | category | dog | snake | snail | hamster | cat | rats | bird |
| StoreB | quantity | 2 | 3 | 4 | 6 | 1 | 1 | 7 |
| StoreC | category | bird | rabbits | cat | lizard | hamster | dog | shrimp |
| StoreC | quantity | 2 | 6 | 7 | 1 | 8 | 3 | 2 |
Thank you all in advance.