Hi, First of all apologies if I've not titled this correctly (it might be why my days of searching have returned nothing).
I have two columns of data one showing storage locations the second showing invoice numbers. What I'm trying to achieve is a way to find out how many times any location is found with any other location on the same invoice number, so from the sample below SAA11 and SEC41 have sold together once. Hopefully that makes sense, the full list is over 3000 rows and would ideally be a lot larger to give more accurate information.
[TABLE="width: 133"]
<tbody>[TR]
[TD="width: 64, bgcolor: transparent"]
[TABLE="width: 133"]
<tbody>[TR]
[TD="width: 64, bgcolor: transparent"]Location
[/TD]
[TD="width: 114, bgcolor: transparent"]Invoice
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SAA11
[/TD]
[TD="bgcolor: transparent, align: right"]85978161
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SEC41
[/TD]
[TD="bgcolor: transparent, align: right"]85978161
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SAD22
[/TD]
[TD="bgcolor: transparent, align: right"]85978162
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SHF53
[/TD]
[TD="bgcolor: transparent, align: right"]85978162
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SKA73
[/TD]
[TD="bgcolor: transparent, align: right"]85978162
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SJB41
[/TD]
[TD="bgcolor: transparent, align: right"]85978163
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SBD71
[/TD]
[TD="bgcolor: transparent, align: right"]85978164
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SAB21
[/TD]
[TD="bgcolor: transparent, align: right"]85978165
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SAC11
[/TD]
[TD="bgcolor: transparent, align: right"]85978165
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SEA52
[/TD]
[TD="bgcolor: transparent, align: right"]85978165
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SFA71
[/TD]
[TD="bgcolor: transparent, align: right"]85978165
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="bgcolor: transparent, align: right"][/TD]
[/TR]
</tbody>[/TABLE]
I have two columns of data one showing storage locations the second showing invoice numbers. What I'm trying to achieve is a way to find out how many times any location is found with any other location on the same invoice number, so from the sample below SAA11 and SEC41 have sold together once. Hopefully that makes sense, the full list is over 3000 rows and would ideally be a lot larger to give more accurate information.
[TABLE="width: 133"]
<tbody>[TR]
[TD="width: 64, bgcolor: transparent"]
[TABLE="width: 133"]
<tbody>[TR]
[TD="width: 64, bgcolor: transparent"]Location
[/TD]
[TD="width: 114, bgcolor: transparent"]Invoice
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SAA11
[/TD]
[TD="bgcolor: transparent, align: right"]85978161
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SEC41
[/TD]
[TD="bgcolor: transparent, align: right"]85978161
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SAD22
[/TD]
[TD="bgcolor: transparent, align: right"]85978162
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SHF53
[/TD]
[TD="bgcolor: transparent, align: right"]85978162
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SKA73
[/TD]
[TD="bgcolor: transparent, align: right"]85978162
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SJB41
[/TD]
[TD="bgcolor: transparent, align: right"]85978163
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SBD71
[/TD]
[TD="bgcolor: transparent, align: right"]85978164
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SAB21
[/TD]
[TD="bgcolor: transparent, align: right"]85978165
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SAC11
[/TD]
[TD="bgcolor: transparent, align: right"]85978165
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SEA52
[/TD]
[TD="bgcolor: transparent, align: right"]85978165
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SFA71
[/TD]
[TD="bgcolor: transparent, align: right"]85978165
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="bgcolor: transparent, align: right"][/TD]
[/TR]
</tbody>[/TABLE]