Good day all,
Here is my question... Is it possible in excel to search a range of cells to find if a certain cells value meets a certain criteria in another range of cells.
For example I have the table below...
column C is just =(Perf Depth -10)
column D is just =(Perf Depth +10)
I am looking for some kind of formula for column A, and what I need it to do is take the corresponding cell in column E and see if that value falls within all the ranges of columns C and D.
For example looking at cell A2, does cell E2 (90) fall within any of the ranges in all of column C and D, so does 90 fall between 0-20, 40-60, 90-110... ect
let me know if anyone has any questions or solutions; and I can not use an embedded IF statemented because the range of actual cells will be to large. The table below is just an example.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Qualifier[/TD]
[TD]Perf Depth[/TD]
[TD]-10'[/TD]
[TD]+10'[/TD]
[TD]FIP[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]X[/TD]
[TD]10[/TD]
[TD]0[/TD]
[TD]20[/TD]
[TD]90[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]X[/TD]
[TD]50[/TD]
[TD]40[/TD]
[TD]60[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]X[/TD]
[TD]100[/TD]
[TD]90[/TD]
[TD]110[/TD]
[TD]110[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]X[/TD]
[TD]150[/TD]
[TD]140[/TD]
[TD]130[/TD]
[TD]200[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD]200[/TD]
[TD]190[/TD]
[TD]210[/TD]
[TD]230[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]X[/TD]
[TD]250[/TD]
[TD]240[/TD]
[TD]260[/TD]
[TD]240[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]X[/TD]
[TD]300[/TD]
[TD]290[/TD]
[TD]310[/TD]
[TD]250[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]X[/TD]
[TD]350[/TD]
[TD]340[/TD]
[TD]360[/TD]
[TD]300[/TD]
[/TR]
</tbody>[/TABLE]
Here is my question... Is it possible in excel to search a range of cells to find if a certain cells value meets a certain criteria in another range of cells.
For example I have the table below...
column C is just =(Perf Depth -10)
column D is just =(Perf Depth +10)
I am looking for some kind of formula for column A, and what I need it to do is take the corresponding cell in column E and see if that value falls within all the ranges of columns C and D.
For example looking at cell A2, does cell E2 (90) fall within any of the ranges in all of column C and D, so does 90 fall between 0-20, 40-60, 90-110... ect
let me know if anyone has any questions or solutions; and I can not use an embedded IF statemented because the range of actual cells will be to large. The table below is just an example.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Qualifier[/TD]
[TD]Perf Depth[/TD]
[TD]-10'[/TD]
[TD]+10'[/TD]
[TD]FIP[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]X[/TD]
[TD]10[/TD]
[TD]0[/TD]
[TD]20[/TD]
[TD]90[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]X[/TD]
[TD]50[/TD]
[TD]40[/TD]
[TD]60[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]X[/TD]
[TD]100[/TD]
[TD]90[/TD]
[TD]110[/TD]
[TD]110[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]X[/TD]
[TD]150[/TD]
[TD]140[/TD]
[TD]130[/TD]
[TD]200[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD]200[/TD]
[TD]190[/TD]
[TD]210[/TD]
[TD]230[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]X[/TD]
[TD]250[/TD]
[TD]240[/TD]
[TD]260[/TD]
[TD]240[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]X[/TD]
[TD]300[/TD]
[TD]290[/TD]
[TD]310[/TD]
[TD]250[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]X[/TD]
[TD]350[/TD]
[TD]340[/TD]
[TD]360[/TD]
[TD]300[/TD]
[/TR]
</tbody>[/TABLE]
Last edited: