Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
put data in markdown tables and clarified examples
Source Link
Blindspots
  • 7.5k
  • 5
  • 20
  • 38

Trying to figure out a formula where I have lets say 5 columns of text data. I want to count how many times any 2 columncombinations of data appears in a2 contiguous columns appear in each row.

For exampleExample data:

A,A,A,B,C

A,B,B,A,A

ABCDE
1AAABC
2ABBAA

In this case I want to Count A,A showing up twice, A,B showing up twice, B,C showing up once etc.the example data above there are 8 range pairs (4 ranges per row):

Paired Cells 1Paired Cells 2Paired Cells 3Paired Cells 4
Row 1{A1:B1}{B1:C1}{C1:D1}{D1:E1}
Row 2{A2:B2}{B2:C2}{C2:D2}{D2:E2}

ThanksFrom the paired ranges there are eight unique value pairs:

Unique Paired ValuesCountPaired Cell Locations
{A,A}3A1:B1   B1:C1   D2:E2
{A,B}2C1:D1   A2:B2
{B,C}1D1:C1
{B,B}1B2:C2
{B,A}1C2:D2
           &nbspCount Total: 8Paired Cells Total: 8

Trying to figure out a formula where I have lets say 5 columns of text data. I want to count how many times any 2 column data appears in a row.

For example:

A,A,A,B,C

A,B,B,A,A

In this case I want to Count A,A showing up twice, A,B showing up twice, B,C showing up once etc.

Thanks

Trying to figure out a formula where I have 5 columns of text data. I want to count how many times combinations of data in 2 contiguous columns appear in each row.

Example data:

ABCDE
1AAABC
2ABBAA

In the example data above there are 8 range pairs (4 ranges per row):

Paired Cells 1Paired Cells 2Paired Cells 3Paired Cells 4
Row 1{A1:B1}{B1:C1}{C1:D1}{D1:E1}
Row 2{A2:B2}{B2:C2}{C2:D2}{D2:E2}

From the paired ranges there are eight unique value pairs:

Unique Paired ValuesCountPaired Cell Locations
{A,A}3A1:B1   B1:C1   D2:E2
{A,B}2C1:D1   A2:B2
{B,C}1D1:C1
{B,B}1B2:C2
{B,A}1C2:D2
           &nbspCount Total: 8Paired Cells Total: 8
added 1 character in body
Source Link

Trying to figure out a formula where I have lets say 5 columns of text data. I want to count how many times any 2 column data appears in a row.

For example: A

A,A,A,B,C;C

A,B,B,A,A

In this case I want to Count A,A showing up twice, A,B showing up twice, B,C showing up once etc.

Thanks

Trying to figure out a formula where I have lets say 5 columns of text data. I want to count how many times any 2 column data appears in a row.

For example: A,A,A,B,C;

A,B,B,A,A

In this case I want to Count A,A showing up twice, A,B showing up twice, B,C showing up once etc.

Thanks

Trying to figure out a formula where I have lets say 5 columns of text data. I want to count how many times any 2 column data appears in a row.

For example:

A,A,A,B,C

A,B,B,A,A

In this case I want to Count A,A showing up twice, A,B showing up twice, B,C showing up once etc.

Thanks

added 3 characters in body
Source Link

Trying to figure out a formula where I have lets say 5 columns of text data. I want to count how many times any 2 column data appears in a row.

For example: A,A,A,B,C AC;

A,B,B,A,A

In this case I want to Count A,A showing up twice, A,B showing up twice, B,C showing up once etc.

Thanks

Trying to figure out a formula where I have lets say 5 columns of text data. I want to count how many times any 2 column data appears in a row.

For example: A,A,A,B,C A,B,B,A,A

In this case I want to Count A,A showing up twice, A,B showing up twice, B,C showing up once etc.

Thanks

Trying to figure out a formula where I have lets say 5 columns of text data. I want to count how many times any 2 column data appears in a row.

For example: A,A,A,B,C;

A,B,B,A,A

In this case I want to Count A,A showing up twice, A,B showing up twice, B,C showing up once etc.

Thanks

Source Link
Loading