RichColeman
New Member
- Joined
- Aug 12, 2021
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
Hi All, I hope you can help.
My spreadsheet looks like this:
I need to be changed so I have unique names and then there 'grades' transposed in columns not rows. Like this:
Currently I get the unique names with:
=INDEX($A$2:$A$112, MATCH(0, COUNTIF($D$1:$D1, $A$2:$A$112), 0))
Which works.
Where I'm getting stuck is with the grades, I am using this:
=IFERROR(INDEX($B$2:$B$116, MATCH(0, COUNTIF($D3:D3,$B$2:$B$116)+IF($A$2:$A$116<>$D3, 1, 0), 0)), 0)
but the problem I am having is it's only bringing back unique grades and I need all to be displayed in columns
Does anyone have any ideas? I'd be really grateful!
Thanks
Rich
My spreadsheet looks like this:
Name | Grade |
Abby | 7 |
Abby | 8 |
Abby | 8 |
Abby | 6 |
Bob | 3 |
Frank | 5 |
Frank | 5 |
I need to be changed so I have unique names and then there 'grades' transposed in columns not rows. Like this:
NAME | |||
Abby | 7 | 8 | 8 |
Bob | 3 | ||
Frank | 5 | 5 |
Currently I get the unique names with:
=INDEX($A$2:$A$112, MATCH(0, COUNTIF($D$1:$D1, $A$2:$A$112), 0))
Which works.
Where I'm getting stuck is with the grades, I am using this:
=IFERROR(INDEX($B$2:$B$116, MATCH(0, COUNTIF($D3:D3,$B$2:$B$116)+IF($A$2:$A$116<>$D3, 1, 0), 0)), 0)
but the problem I am having is it's only bringing back unique grades and I need all to be displayed in columns
Does anyone have any ideas? I'd be really grateful!
Thanks
Rich