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

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
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,121
Messages
6,123,177
Members
449,093
Latest member
bes000

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