# True statement with ISNUMBER

#### McNeil87

##### New Member
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

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

#### Eric W

##### MrExcel MVP

=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.

#### mikerickson

##### MrExcel MVP
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?

#### McNeil87

##### New Member
Hello,
=(Q2="abc") — true
=(G2="D") - true
=ISNUMBER(MATCH(K2, abc_dom,0)) abc_dom is a single column list

#### mikerickson

##### MrExcel MVP
Crazy, but I notice there isn't an = in the OP formula.

Replies
3
Views
89
Replies
2
Views
197
Replies
7
Views
243
Replies
3
Views
36
Replies
35
Views
512

1,127,210
Messages
5,623,410
Members
415,972
Latest member
SY1234

### 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.

### Which adblocker are you using?

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

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