Help on Match formula to pair a data within the same column

blackorchids2002

Board Regular
Joined
Dec 29, 2011
Messages
138
Hi Masters,

I badly need help on how to use match to pair data within the same column. I would need a formula to pair the data. Below is the table to explain further.

I have columns A to G. I want to pair the weight in column B, then column C and so on and so forth.
For you to pair the data, let say in column F, I could pair 2.100 to 2.130 or I could also pair 2.100 to 1.800. I want to come up in paring within the range of +0.030 and -0.030.

Another example on the same column F, I can pair 2.115 and 2.130. I cannot pair 2.115 and 2.170 because it is not within the weight interval of +-0.030.

I needed help on how to formulate the formula.

ABCDEFG
Weight1.7001.8001.9002.0002.1002.230
11.7101.710-----
21.7001.700-----
31.680------
42.040---2.040--
52.170----2.170-
62.115----2.115-
72.130----2.130-
81.840-1.840----
92.240-----2.240
102.100----2.100-
112.140----2.140-
122.000---2.000--
131.800-1.800----
142.100----2.100-
152.245-----2.245
162.115----2.115-
172.130----2.130-
181.825-1.825----
192.225----2.225-
202.160----2.160-

<tbody>
</tbody>


Cheers,
blackorchids2002
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Weight1.71.81.922.12.23
11.711.7100000
21.71.700000
31.68000000
42.040002.0400
52.1700002.170
62.11500002.1150
72.1300002.130
81.8401.840000
92.24000002.24
102.100002.10
112.1400002.140
122000200
131.801.80000
142.100002.10
152.245000002.245
162.11500002.1150
172.1300002.130
181.82501.8250000
192.22500002.2250
202.1600002.160
1.711.842.172.24
1.71.8252.142.245
1.82.17
1.8252.16
2.115
2.13
2.115
2.1
2.115
2.14
2.115
2.1
2.115
2.115
2.115
2.13
2.13
2.1
2.13
2.14
2.13
2.1
2.13
2.115
2.13
2.13
2.13
2.16
2.1
2.1
2.1
2.115
2.1
2.13
2.14
2.115
2.14
2.13
2.14
2.16
2.1
2.115
2.1
2.13
2.115
2.13
2.13
2.16
I wrote a small macro to check every possible pair and list all that meet the criteria (had to change - to 0)

<colgroup><col width="64" span="9" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,730
Members
448,987
Latest member
marion_davis

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