New itunes installed can i get old data?

I have formatted my computer so i had to install new itunes library i have backed up the data in itunes library to ICLOUD before formatting my computer so now can get the data back as it was if i connect my iphone and sync it to new itunes library and will there be any problem if i register this itunes library with the new email id can i get the same old data as it was in my old library
your answers will be highly appreciated

Itunes

You should log in to the store under the apple id that has all the old data on it. From there it should automatically update to the library you previously had stored in the cloud… Warning: it takes forever to pull all the music back down from the cloud once you do that… But DO NOT hook your iphone up to it and sync it because it will take all the songs off of it until you get them back on the computer from the icloud… Good luck.

You should have no problems if you explain your situation and ask iTunes Support to re-integrate your old data with your new library. They will verify your ID and then initiate a download of missing data to your new library.