In fact , these contacts are not deleted form Samsung completely , unless thses data was covered on the phone , i would like to suggest that you can try Android Rscuer , which can help you found out lost contacts on Sansung ,
With the help of Android text messages rescuer, you are able to recover deleted text from Android freely, even if the messages has been deleted from Android phone , but you still have chance to recover messages back with recovery software ,
There is a easy method to complete it, first , you can export contacts from android to computer , after the contacts is saved on the computer , you can directly move them to Excel in a more easy way,