I have 12 excel files that contain a column with dates. The dates occur multiple times. I need to count the number of occurances of each date on all 12 files. Is there a way to do this with a formula or array?
Example,
[TABLE="class: grid, width: 80, align: center"]
<tbody>[TR]
[TD]Date column on file 1[/TD]
[/TR]
[TR]
[TD]6-1-2015[/TD]
[/TR]
[TR]
[TD]6-1-2015[/TD]
[/TR]
[TR]
[TD]6-3-2015[/TD]
[/TR]
[TR]
[TD]6-5-2015[/TD]
[/TR]
[TR]
[TD]6-5-2016[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 80, align: center"]
<tbody>[TR]
[TD]Date column on file 2[/TD]
[/TR]
[TR]
[TD]6-1-2015[/TD]
[/TR]
[TR]
[TD]6-2-2015[/TD]
[/TR]
[TR]
[TD]6-3-2015[/TD]
[/TR]
[TR]
[TD]6-3-2015[/TD]
[/TR]
[TR]
[TD]6-5-2016
[/TD]
[/TR]
</tbody>[/TABLE]
Desired result on a new file:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]File 1[/TD]
[TD="align: center"]File 2[/TD]
[/TR]
[TR]
[TD="align: center"]6-1-2015[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]6-2-2015[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]6-3-2015[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD="align: center"]6-4-2015[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]6-5-2015[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]1[/TD]
[/TR]
</tbody>[/TABLE]
Thanks
Example,
[TABLE="class: grid, width: 80, align: center"]
<tbody>[TR]
[TD]Date column on file 1[/TD]
[/TR]
[TR]
[TD]6-1-2015[/TD]
[/TR]
[TR]
[TD]6-1-2015[/TD]
[/TR]
[TR]
[TD]6-3-2015[/TD]
[/TR]
[TR]
[TD]6-5-2015[/TD]
[/TR]
[TR]
[TD]6-5-2016[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 80, align: center"]
<tbody>[TR]
[TD]Date column on file 2[/TD]
[/TR]
[TR]
[TD]6-1-2015[/TD]
[/TR]
[TR]
[TD]6-2-2015[/TD]
[/TR]
[TR]
[TD]6-3-2015[/TD]
[/TR]
[TR]
[TD]6-3-2015[/TD]
[/TR]
[TR]
[TD]6-5-2016
[/TD]
[/TR]
</tbody>[/TABLE]
Desired result on a new file:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]File 1[/TD]
[TD="align: center"]File 2[/TD]
[/TR]
[TR]
[TD="align: center"]6-1-2015[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]6-2-2015[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]6-3-2015[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD="align: center"]6-4-2015[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]6-5-2015[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]1[/TD]
[/TR]
</tbody>[/TABLE]
Thanks