Hi Preeti,
If you use the below approach you don't need dataset.
You will get lots of code snippets in google . Just type "read rows from excel file" in google and it will bring you lot of links having the similar code to fetch a cell from excel .
Make sure you download the jar Apache POI and put that in your LISA_HOME_PATH\lib\shared\ path.
Restart the workstation and write the java code in Execute script(JSR-223) . In order to assign the value which you had read from excel and write in output step please use testExec.setStateValue("output",celldata).
In the output step please write{{celldata}} to display the output log message.
Regards,
Manik