If iTunes shows multiple instances of an artist or an album then what generally works is to select all related tracks and use Get Info to add say a trailing X to each of the fields that the tracks should have in common:
- For an album; Album, Album Artist, and Artist (if artist is the same for all tracks) *
- For an artist; Album Artist (and Artist unless there are guest/featured artists listed which should not be changed)
Apply the change which merges things together, then remove the excess characters. Occasionally it may help to close and reopen iTunes between the two renaming operations. Part of a compilation should also be set consistently.
* If tracks are to be synced to a non-iOS device (e.g. iPod classic) there should be a common Artist and/or the album should be set as a Compilation. My workaround for guest and featured artists is to put this information in the track name and make Artist and Album Artist the same.
Use the songs view and display the fields Album, Sort Album, Album Artist, Sort Album Artist, Artist and Sort Artist side by side so you see whether or not it is appropriate to edit Artist and if sort values could be causing any further problems. See Grouping tracks into albums for more help if required.
One further tip for really stubborn duplicates. At one point I had three lots of Various Artists in the artists view of my iTunes Match library that wouldn't respond to the usual trailing X treatment. What I found worked was to add the trailing X to start with, but then with each group that iTunes wanted to keep separate start typing a value and let iTunes autocomplete from Var... to Various Artists. Picking from the autocomplete lists seemed to work when pasting/editing the whole value didn't.
FWIW you can use the Sort Artist & Sort Album Artist values to sort by <Last Name>, <First Names> while displaying as <First Names> <Last Name>, but that might be a round of reorganization that you don't want to bother with after making the changes you've already made.