Jmoz092
Board Regular
- Joined
- Sep 8, 2017
- Messages
- 184
- Office Version
- 365
- 2011
- Platform
- Windows
- MacOS
I'm in need of a formula that compares a couple things and gives an answer, but I'm not having any luck. Any help would be appreciated.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Begin Date[/TD]
[TD]End Date[/TD]
[TD]true/false[/TD]
[TD]today[/TD]
[TD]active/expired[/TD]
[/TR]
[TR]
[TD]11-1-17[/TD]
[TD]11-30-17[/TD]
[TD]true[/TD]
[TD]=today()[/TD]
[TD]active[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]false[/TD]
[TD]=today()[/TD]
[TD]n/a
[/TD]
[/TR]
[TR]
[TD]11-1-17[/TD]
[TD]11-2-17[/TD]
[TD]true[/TD]
[TD]=today()[/TD]
[TD]expired[/TD]
[/TR]
</tbody>[/TABLE]
I have 2 columns with a begin and end date.
I have a static cell that contains =today().
I have a column that contains true or false values
I need (in the active/expired/na column) to compare those in the active/expired column.
If the end date is less than today, = active
if the true/false column is false, = n/a
if the end date is in the past (compared to today), = expired
Thank you
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Begin Date[/TD]
[TD]End Date[/TD]
[TD]true/false[/TD]
[TD]today[/TD]
[TD]active/expired[/TD]
[/TR]
[TR]
[TD]11-1-17[/TD]
[TD]11-30-17[/TD]
[TD]true[/TD]
[TD]=today()[/TD]
[TD]active[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]false[/TD]
[TD]=today()[/TD]
[TD]n/a
[/TD]
[/TR]
[TR]
[TD]11-1-17[/TD]
[TD]11-2-17[/TD]
[TD]true[/TD]
[TD]=today()[/TD]
[TD]expired[/TD]
[/TR]
</tbody>[/TABLE]
I have 2 columns with a begin and end date.
I have a static cell that contains =today().
I have a column that contains true or false values
I need (in the active/expired/na column) to compare those in the active/expired column.
If the end date is less than today, = active
if the true/false column is false, = n/a
if the end date is in the past (compared to today), = expired
Thank you