Create sub folders using excel sheet fields value

I want to create one folder inside another folder where the names of the folder will be taken from excel sheet. I am able to create the sub folders normally but I want to create them by using fields from excel sheet. How can that be achieved in PS.

You can do this using inbuilt createFolder method under File Functions in Modified JavaScript Step.

How can we create folder using this file function. i need to create folders based on the message number. which i have stored in excel sheet. i need to dynamically create the folders.