If and statement not working

samyscraps01

Board Regular
Joined
Jul 6, 2017
Messages
56
A (Original Hire)
B (Re-Hire)
C =IF(A=B, TRUE)
D TERM DATE
E
1 yr of return
F
=IF(AND(C1=FALSE,$B1>$D1,$B1<$E1),"Include in Ceremony","Do not Include")
12/8/10
09/25/18
FALSE
2/22/18
2/22/19
Include in ceremony
01/16/17
01/16/17
TRUE




<tbody>
</tbody>
Hi, this is a copy of the formula that i'm working on.

=IF(AND(C1=FALSE,$B1>$D1,$B1<$E1),"Include in Ceremony","Do not Include")

The only difference is I want to add one small thing, I want it to include if B1=TRUE, then say "include” without needing to perform any other operations like it does for False. I can't seem to get it to work properly.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Try:
Code:
=IF(C1=TRUE,"include",IF(AND($B1>$D1,$B1<$E1),"Include in Ceremony","Do not Include"))
EDIT: I'm assuming you meant if C1 = TRUE, not B1.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,213,539
Messages
6,114,221
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