P
patayloruk
I am trying to get a count of each different wire size in miltiple connectors.
In column A of sheet WIRE DIAMETER I have each unique connector number used listed and in row 1 I have each cable type listed.
eg. A2 contains "DP1000M" C1 contains "12-1C"
In sheet Macro1 (a wire list), column D contains the connector number on each row eg. DP1000M and column F contains the wire type on each row.
In C2 I am trying to get a count of all 12-1C cables that are in DP1000M, in C2 all 12-1C wires in DP1001M etc....and in D2 all 14-1C wires in DP1000M etc...
I tried this formula:
=COUNTIF(Macro1!$F:$F,IF(Macro1!$D:$D='WIRE DIAMETER'!$A2,('WIRE DIAMETER'!C$1),0))
but when I look at the results (coppied down and across) it counts ALL the wires instead of just the ones for DP1000M and the count is only shown on row 6 for DP1004M
Hope this makes sense and look forward to a reply.
Thanks
Paul Taylor
In column A of sheet WIRE DIAMETER I have each unique connector number used listed and in row 1 I have each cable type listed.
eg. A2 contains "DP1000M" C1 contains "12-1C"
In sheet Macro1 (a wire list), column D contains the connector number on each row eg. DP1000M and column F contains the wire type on each row.
In C2 I am trying to get a count of all 12-1C cables that are in DP1000M, in C2 all 12-1C wires in DP1001M etc....and in D2 all 14-1C wires in DP1000M etc...
I tried this formula:
=COUNTIF(Macro1!$F:$F,IF(Macro1!$D:$D='WIRE DIAMETER'!$A2,('WIRE DIAMETER'!C$1),0))
but when I look at the results (coppied down and across) it counts ALL the wires instead of just the ones for DP1000M and the count is only shown on row 6 for DP1004M
Hope this makes sense and look forward to a reply.
Thanks
Paul Taylor