Hello!
Let me start off by saying I'm an excel newbie (I just started using formulas today).
However, I have a rather complex task I'm trying to accomplish. I have almost no knowledge of excel formulas/coding so I'll try to explain in just words.
I have several ranges of data and I would like to see if any values of this range overlap with another range.
Say column A is the lower limit of one range, B is the upper limit. Column C is the lower limit of a second range, D is the upper limit, etc.
I'm wanting to check if any of these ranges (A to B, or C to D, etc) completely or partially overlap with the range 30<x<=60.
I would like to get a "1" in the cell if there is any overlap and a "0" if there is none.
I'm guessing the code/formula would have to say something like this (please forgive me for not putting this in proper excel language):
If A<=x<=B overlaps with 30<x<=60 then cell = 1
else if C<=x<=D overlaps with 30<x<=60 then cell = 1
else cell = 0
I'm not even sure if this is possible.
Thank you so much!
Bookmarks