L
Legacy 90606
Guest
working on a very large spreadsheet that has the details of lots of employees and their mode of travel to work.
I need to be able to a countif on the company name based on the criteria in another column
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Mode of transport[/TD]
[TD]Company Name[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Bike[/TD]
[TD]Test Company 1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Car[/TD]
[TD]Test Company 2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Walk[/TD]
[TD]Test Company 1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Car[/TD]
[TD]Test Company 3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Bike[/TD]
[TD]Test Company 1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Car[/TD]
[TD]Test Company 1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Car[/TD]
[TD]Test Company 1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Walk[/TD]
[TD]Test Company 2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Bike[/TD]
[TD]Test Company 4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]Car[/TD]
[TD]Test Company 1[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need a table to look at all different permutations and count up the entries for each company like below.
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Mode of transport[/TD]
[TD]Companies[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Bike[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Car[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Walk[/TD]
[TD]0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Bike/Car[/TD]
[TD]0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Bike/Car/Walk[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Car/Walk[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Bike/Walk[/TD]
[TD]0[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need to be able to a countif on the company name based on the criteria in another column
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Mode of transport[/TD]
[TD]Company Name[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Bike[/TD]
[TD]Test Company 1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Car[/TD]
[TD]Test Company 2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Walk[/TD]
[TD]Test Company 1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Car[/TD]
[TD]Test Company 3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Bike[/TD]
[TD]Test Company 1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Car[/TD]
[TD]Test Company 1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Car[/TD]
[TD]Test Company 1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Walk[/TD]
[TD]Test Company 2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Bike[/TD]
[TD]Test Company 4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]Car[/TD]
[TD]Test Company 1[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need a table to look at all different permutations and count up the entries for each company like below.
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Mode of transport[/TD]
[TD]Companies[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Bike[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Car[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Walk[/TD]
[TD]0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Bike/Car[/TD]
[TD]0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Bike/Car/Walk[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Car/Walk[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Bike/Walk[/TD]
[TD]0[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]