Export folder listing - output level of subfolders into seperate columns as excel file

Hi there,

is it somehow possible to output folder structure so that for each level of subfolders it jumps to a new column and enter folder name?

Just found out a tedious workaround but would be cool to have option for this.