Guys I need help with some pretty advanced stuff.
My source data is like this
Example
B Happy 1
B Sad 2
C Happy 4
And I am trying to formulate the formula to do this
Name | Happy | Sad
B 1 2 ( the 1 would be under happy, 2 under sad)
C 4 0 ( 4 under happy, 0 under sad)
How can I do this? I tried with vlookup, but I cannot lookup 2 criteria. Google got me some indexing method which either I did it wrongly, or does not work too.
I believe it can be done by array but I am not sure how.
Can someone help me? Thanks
My source data is like this
Example
B Happy 1
B Sad 2
C Happy 4
And I am trying to formulate the formula to do this
Name | Happy | Sad
B 1 2 ( the 1 would be under happy, 2 under sad)
C 4 0 ( 4 under happy, 0 under sad)
How can I do this? I tried with vlookup, but I cannot lookup 2 criteria. Google got me some indexing method which either I did it wrongly, or does not work too.
I believe it can be done by array but I am not sure how.
Can someone help me? Thanks