Hello everyone,
I have something I want to do, but I have no idea where to start, so here is the problem :
I have many excel files :
On the file a.xls I have this
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Igor[/TD]
[TD]10[/TD]
[TD]20[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Patrick[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]20[/TD]
[/TR]
</tbody>[/TABLE]
On the file b.xls I have this :
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Igor[/TD]
[TD]20[/TD]
[TD]30[/TD]
[TD]40[/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Edward[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
On the c.xls file, i would like to look into the a.xls file and the b.xls file to check the name, and then sum up the corresponding column :
It would give me in the end :
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Igor[/TD]
[TD]30[/TD]
[TD]50[/TD]
[TD]50[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Patrick[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Edward[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
(If there are some unique names between the excels it just retrieve the original values).
Is it possible to do so ? If yes thank you for your help It'd save me.
Thanks again,
Arkine
I have something I want to do, but I have no idea where to start, so here is the problem :
I have many excel files :
On the file a.xls I have this
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Igor[/TD]
[TD]10[/TD]
[TD]20[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Patrick[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]20[/TD]
[/TR]
</tbody>[/TABLE]
On the file b.xls I have this :
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Igor[/TD]
[TD]20[/TD]
[TD]30[/TD]
[TD]40[/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Edward[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
On the c.xls file, i would like to look into the a.xls file and the b.xls file to check the name, and then sum up the corresponding column :
It would give me in the end :
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Igor[/TD]
[TD]30[/TD]
[TD]50[/TD]
[TD]50[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Patrick[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Edward[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
(If there are some unique names between the excels it just retrieve the original values).
Is it possible to do so ? If yes thank you for your help It'd save me.
Thanks again,
Arkine
Last edited: