True statement with ISNUMBER

McNeil87

Board Regular
Joined
Dec 6, 2019
Messages
55
Office Version
  1. 2016
Platform
  1. Windows
  2. MacOS
Hello,

I have the following formula written, but it’s not returning both ‘true’ or ‘false.’ Would love for feedback:

AND(Q2=“abc”,G2=“D”,ISNUMBER(Match(k2,abc_dom,0)))
Essentially, want to say if cell Q2=abc, and g2=d (that’s true) and if cell K2 matches the list from abc_dom, return false because I don’t want the criteria included if K2 matches, but if if matches, return true

will it work if I do this?
AND(Q2=“abc”,G2=“D”,ISNUMBER(Match(k2,abc_dom,0))=FALSE

thank you!
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
I'm not sure about your criteria. First trying putting NOT around your first formula:

=NOT(AND(...))

and seeing if that works for you. If not, I'll want to see what results you want for each of the 8 possible combinations.
 
Upvote 0
What do each of the parts return seperately.
=(Q2="abc")
=(G2="D")
=ISNUMBER(MATCH(K2, abc_dom,0))

Also, is abc_dom a single column or a single row?
 
Upvote 0
Hello,
=(Q2="abc") — true
=(G2="D") - true
=ISNUMBER(MATCH(K2, abc_dom,0)) abc_dom is a single column list
 
Upvote 0

Forum statistics

Threads
1,213,534
Messages
6,114,188
Members
448,554
Latest member
Gleisner2

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