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

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
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,215,102
Messages
6,123,099
Members
449,096
Latest member
provoking

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