Pairs Comparison

cotech_10

Board Regular
Joined
Sep 11, 2010
Messages
135
Office Version
  1. 2016
Platform
  1. Windows
Hi All,

I think I have a simple task in excel that I need to undertake. I am looking to compare a row of numbers against a table of numbers and would like to analyse the number or occurrences
of consecutive pairs.

In the example I have provided there is a single row of numerical data spanning across 8 columns(MAIN LINE) being numbers 1,2,8,11,16,30,55 &56.
In this line there are two instances of consecutive pairs of numbers (1-2 & 55-56). I would like to analyse this line against a Table of numerical data
to match the number of occurrences where there are consecutive pairs.

Therefore the result of this example I have provided will produce a count of (2) occurrences of consecutive pairs appearing in Table 1 when compared
to the Main line.

1601924522381.png


If someone can assist that would be greatly appreciated.

Thanks and Regards

Cotech_10
 
Last edited by a moderator:

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top