There are a number of ways, involving various libraries, that you could use, depending on your circumstances. None works for all use cases, and most definitely not "immediately", so you may be out of luck. But it would help if you told us more details about what you need to accomplish, what exactly you have tried, and how that didn't work.
Think of your problem as a two step problem.
First read the excel file. You can do this using Apache POI.
And then write the data into PDF. You can use iText or PDFBox.