Finding a number(s)

louis welna

New Member
Joined
Oct 7, 2002
Messages
12
Thank you so much for the possible solutions. I needed to be more specific.

I'm working with two sets of three numbers which reflect the standard error of the measurement of two obtained scores. The rule is: if the scores touch in any way, then there is no significant difference between the two score and should not be interpreted!
TEST 1
In this example there is a lot of touching going on!<pre> C D E
Low Mid High
7 97 103 108
8 93 98 102</pre>

So, I'm looking for a formula that checks to see if any one number located in c8:e8 (that would include 93, 94,95,96,97,98,99,199,101,102) is found anywhere in c7:e7 (that would include these numbers (97,98,99,100,101,102,103,104,105,106,107,108). I know the answer is "Yes" for there are 6 matches.

TEST 2<pre> C D E
Low Mid High
10 97 103 108
11 91 94 97</pre>

There is only touching at the ends.The answer would also be "yes".

TEST 3<pre> C D E
Low Mid High
13 93 98 103
14 76 94 97</pre>

No touching at all! The answer would be "no".

I'm sorry I am so wordy. Thank you all for your help.

Louie Welna
This message was edited by Juan Pablo G. on 2002-10-16 14:13
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
Is this perhaps what you're looking for:

=SUMPRODUCT((ISNUMBER(MATCH(ROW(INDIRECT(C8&":"&E8)),ROW(INDIRECT(C7&":"&E7)),0))+0))

This creates a set of whole numbers from Low to High before matching.
 

Mark W.

MrExcel MVP
Joined
Feb 10, 2002
Messages
11,654
Or...

{=OR(ROW(INDIRECT(C8&":"&E8))=TRANSPOSE(ROW(INDIRECT(C7&":"&E7))))}

Note: This is an array formula which must be entered using the Control+Shift+Enter key combination. The outermost braces, { }, are not entered by you -- they're supplied by Excel in recognition of a properly entered array formula. For more on array formulas see the Excel Help topic for "About array formulas and how to enter them".
 

Juan Pablo González

MrExcel MVP
Joined
Feb 8, 2002
Messages
11,959
Hey, I had one of my own also:

{=OR(ISNUMBER(MATCH(ROW(INDIRECT(C8&":"&E8)),ROW(INDIRECT(C7&":"&E7)),0)))}

Array entered as well.
 

louis welna

New Member
Joined
Oct 7, 2002
Messages
12
On 2002-10-16 15:36, Juan Pablo G. wrote:
Hey, I had one of my own also:

{=OR(ISNUMBER(MATCH(ROW(INDIRECT(C8&":"&E8)),ROW(INDIRECT(C7&":"&E7)),0)))}

Array entered as well.
 

Forum statistics

Threads
1,181,106
Messages
5,928,099
Members
436,588
Latest member
mummabare

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
Top