Return a true or false based on two cells

GAV1969

New Member
Joined
Nov 26, 2002
Messages
30
Hi there. I have searched for the answer but I think maybe I'm not quite describing my aim correctly in order for the search to return what I need.

Anyway I'm sure it's pretty easy for you guys. Here goes.

I would like a function/formula for the following.

If cell A1 is greater than the value of 2 OR cell B1 = today then return "Yes" in cell C1, otherwise return "No"

Column A will always be a list of numbers and Column B will always be a list of dates. There will never be a date in the past, only today or future.

We should assume there are no blanks.

Thanks in advance

GRR
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hi Peter. Thanks for the post. This seems to return "Yes" in all cases
That sounds like your numbers are probably not 'true numbers' but 'numbers stored as text'. Or it could be the dates stored as text. Or both.

Try this instead
=IF(OR(A1+0>2,B1+0=TODAY()),"Yes","No")
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,213
Members
452,618
Latest member
Tam84

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