Data transfer from excel to excel
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
anu
el 12 de Mzo. de 2015
Comentada: anu
el 13 de Mzo. de 2015
Hello,
I have an excel workbook with 350 columns and 15 rows. I need to pick required columns ( for example col 1:5, 80: 82, 234:268 and all the rows. Then, I need to write that into a new excel. Any help is greatly appreciated.
Thanks in advance.
0 comentarios
Respuesta aceptada
Image Analyst
el 12 de Mzo. de 2015
Try something like this (untested)
[~,~,raw] = xlsread(oldFileName);
columns = [1:5, 80: 82, 234:268];
output = raw(:, columns); % Extract only the columns we want.
xlswrite(newFileName, output);
Más respuestas (0)
Ver también
Categorías
Más información sobre Spreadsheets en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!