MacBook Pro 13 "screen replacement

I have Mac book pro 13 "mid-2014 and end of 2011,
All I wanted to know, is that it's possible to change my 2011 professional screen to broken screen in the middle of 2014, if the 2011 screen is compatible until the middle of 2014, are there any problems with installation? If someone meets this situation, please let me know and help me please. Thank you