Scratching my head

jarhead58

Active Member
Joined
Sep 21, 2017
Messages
364
Office Version
  1. 2021
Platform
  1. Windows
Scenario:
B2:B5
39

48

53

67

68

<tbody>
</tbody>

L53:P53
12 14 20 39 40

Why wouldn't this formula give back a "TRUE" value? I did do the Ctrl-Shift-Enter for the formula.

=INDEX(B2:F5,MATCH(B2:B5,L53:P53,0),"TRUE","FALSE")

TIA
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
I have no clue what you are trying to do here.

match ( lookup value , lookup array , match type)

Your lookup array is. 12 14 20 39 40

and your match type says to use the first value found.

but instead of a lookup value, you have a range of values... only one of which is going to match the lookup array (39)




 
Upvote 0
Try this:

=SUMPRODUCT(--(B2:B6=L53:P53))>0

I had a typo in my formula when I was copying from one of my notes. It should have been ...B2:F2, L53:P53. Just trying to see if any numbers I enter from my source B2:F2 are matches to my list L53:P53
 
Upvote 0
Ok, I thought I had the formula the way I wanted it but I think my criteria is wrong. I am using Scotts formula; =SUMPRODUCT(COUNTIF(B2:F2,L53:P53))>0. I need the cell to be TRUE if 3 or more cells in B2:F2 match any of the cells in L53:P53 OR if 2 cells AND G2 = Q53, do you see what I'm looking for?

TIA
 
Upvote 0
Ok, I thought I had the formula the way I wanted it but I think my criteria is wrong. I am using Scotts formula; =SUMPRODUCT(COUNTIF(B2:F2,L53:P53))>0. I need the cell to be TRUE if 3 or more cells in B2:F2 match any of the cells in L53:P53 OR if 2 cells AND G2 = Q53, do you see what I'm looking for?

TIA

So, nobody can help me out?
 
Upvote 0

Forum statistics

Threads
1,216,100
Messages
6,128,831
Members
449,471
Latest member
lachbee

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