Multilayer CSV to filtered excel -


[enter image description here][1]i have following format csv hierarchy data (up 12 layers) , trying fill in excel can @ end create pivot of data.

each file (over 1000) different, have been trying code macros unable remove bugs.

first aproach create table , use above cell on blanks, because of layers not correct end of table

any idea on how approach using macros?

level 1,level 2,level 3,level 4,level 5,level 6,level 7,level 8,level 9,level 10,level 11,level 12 test ,,,,,components ,,,,,,default logic ,,,,,,,z04 - z05 ,,,,,,,,z04 () ,,,,,,,,,%pwr_pg_u_backlight% () components ,c ,,c802 - c842 ,,,c802 ,,,,1 (1) ,,,,2 (2) 

[this got|http://i.stack.imgur.com/bj2qg.png]

[this need pivot|http://i.stack.imgur.com/7q6jq.png]

to 'text columns' in vba

row_count = 13  = 1 row_count     strarray = split(cells(i, 1).value, ",")     count = lbound(strarray) ubound(strarray)         cells(i, count + 1).value = strarray(count)     next next 

Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -