If function meeting criteria from two different cells and return a true or false

acapria

New Member
I cant seem to get this formula to work!

I need to check if

A1 is>26000 (greater than 26000)
and
B1 is = n (B1 is equal to "N")
Then
return value true in cell C1.

thank you!

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Welcome to the board. Try this in C1:

=AND(A1 > 26000, B1 = "N")

It returns a false value to every single one no matter what the value is in A1 and B1. I would like it to return the value only if its true. It seems simple enough but I have been banging my head on my desk with this one

Last edited:
=if(and(a1 > 26000, b1 = "n"),"true","")

No, that didn't work either. It didn't return any values.

No, that didn't work either. It didn't return any values.

If the condition is false, it will not return anything. What values do you have in A1 and B1?

OK! Out of frustration, I closed out my spreadsheet, reopened it, and tried again... It worked!!!! Thank you soooo much!

OK! Out of frustration, I closed out my spreadsheet, reopened it, and tried again... It worked!!!! Thank you soooo much!

Replies
1
Views
75
Replies
4
Views
117
Replies
1
Views
97
Replies
6
Views
788
Replies
12
Views
379

1,219,798
Messages
6,150,319
Members
450,951
Latest member
kh198

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.

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