Return offset value of overlapping values to a single cell

Akorax

New Member
Joined
Jul 22, 2014
Messages
2
Hello!

Excel version: 2010

I'm trying to compare a value range from a unit in a table with every other unit in that table to find out if there are any overlapping value ranges. The range to compare consist of a minimum value and a maximum value. If one or more range overlaps are found, the overlapping unit(s) will be named in a new colum.
The reason for this is to find out if the units need further analysis on other values/parameters (not named here) to distinguish them from eachother.

Below you can see a more concrete example of what I'm trying to accomplish with this marvelous program. The example is a small one but the list I want to create may grow up to 30 rows in size.

The formulas I've used this far are:
Cell D19 =NOT((C19<B20)+(C20<B19))
<b20)+(c20<b19))
Cell E19 =IF(D19,"Overlap","No overlap")

I figure this might be impossible to do without the assistance of VBA enabled content but I have a restriction not to use macros/VBA in this case. :(

ABCDE
1List I want to compare
2NamesMin ValueMax Value
3Unit A1020
4Unit B1525
5Unit C3050
6Unit D3545
7Unit E4060
8
9Result I want
10NamesMin ValueMax ValueOverlapping with
11Unit A1020Unit B
12Unit B1525Unit A
13Unit C3050Unit D, Unit E
14Unit D3545Unit C, Unit E
15Unit E4060Unit C, Unit D
16
17What I have tried
18NamesMin ValueMax ValueOverlapOverlap in plain text
19Unit A1020TRUEOverlap
20Unit B1525

<tbody>
</tbody>
</b20)+(c20<b19))
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
HTML screwed my formulas big time.
Here they are uncut (hopefully) this time:

Cell D19 =NOT((C19<b20)+(c20<b19))
Cell E19 =IF(D19,"Overlap","No overlap")</b20)+(c20<b19))
 
Upvote 0

Forum statistics

Threads
1,213,506
Messages
6,114,024
Members
448,543
Latest member
MartinLarkin

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