Calculated Column IF/AND question
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
1
down vote
favorite
What did I do wrong?
I need a calculated column to return the following:
- If [Status] equals "Pre-OPEN" then return [Date Opened]+3
- If [Status] equals "OPEN" then return [Date Opened]+30
- If [Status] equals "PENDING" then return [Date Opened]+30
- If [Status] equals "REFERRAL" and [Dispo] equals "Active" then return [Date Opened] +5
If [Status] equals "Pre-OPEN" and [Dispo] equals "Active" then return [Date Opened]+3
=IF([Status]="Pre-OPEN",[Date Opened]+3,IF([Status]="OPEN",[Date of Last ROI]+30,IF([Status]="PENDING",[Date of Last ROI]+30,IF(AND([Status]="REFERRAL",[Dispo]=âÂÂActiveâÂÂ,[Date Opened]+5,IF(AND([Status]="ONLY",[Dispo]=âÂÂActiveâÂÂ,[Date Opened]+10, "")))))
Any assistance is much appreciated.
calculated-column calculated-column-formula
New contributor
add a comment |Â
up vote
1
down vote
favorite
What did I do wrong?
I need a calculated column to return the following:
- If [Status] equals "Pre-OPEN" then return [Date Opened]+3
- If [Status] equals "OPEN" then return [Date Opened]+30
- If [Status] equals "PENDING" then return [Date Opened]+30
- If [Status] equals "REFERRAL" and [Dispo] equals "Active" then return [Date Opened] +5
If [Status] equals "Pre-OPEN" and [Dispo] equals "Active" then return [Date Opened]+3
=IF([Status]="Pre-OPEN",[Date Opened]+3,IF([Status]="OPEN",[Date of Last ROI]+30,IF([Status]="PENDING",[Date of Last ROI]+30,IF(AND([Status]="REFERRAL",[Dispo]=âÂÂActiveâÂÂ,[Date Opened]+5,IF(AND([Status]="ONLY",[Dispo]=âÂÂActiveâÂÂ,[Date Opened]+10, "")))))
Any assistance is much appreciated.
calculated-column calculated-column-formula
New contributor
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
What did I do wrong?
I need a calculated column to return the following:
- If [Status] equals "Pre-OPEN" then return [Date Opened]+3
- If [Status] equals "OPEN" then return [Date Opened]+30
- If [Status] equals "PENDING" then return [Date Opened]+30
- If [Status] equals "REFERRAL" and [Dispo] equals "Active" then return [Date Opened] +5
If [Status] equals "Pre-OPEN" and [Dispo] equals "Active" then return [Date Opened]+3
=IF([Status]="Pre-OPEN",[Date Opened]+3,IF([Status]="OPEN",[Date of Last ROI]+30,IF([Status]="PENDING",[Date of Last ROI]+30,IF(AND([Status]="REFERRAL",[Dispo]=âÂÂActiveâÂÂ,[Date Opened]+5,IF(AND([Status]="ONLY",[Dispo]=âÂÂActiveâÂÂ,[Date Opened]+10, "")))))
Any assistance is much appreciated.
calculated-column calculated-column-formula
New contributor
What did I do wrong?
I need a calculated column to return the following:
- If [Status] equals "Pre-OPEN" then return [Date Opened]+3
- If [Status] equals "OPEN" then return [Date Opened]+30
- If [Status] equals "PENDING" then return [Date Opened]+30
- If [Status] equals "REFERRAL" and [Dispo] equals "Active" then return [Date Opened] +5
If [Status] equals "Pre-OPEN" and [Dispo] equals "Active" then return [Date Opened]+3
=IF([Status]="Pre-OPEN",[Date Opened]+3,IF([Status]="OPEN",[Date of Last ROI]+30,IF([Status]="PENDING",[Date of Last ROI]+30,IF(AND([Status]="REFERRAL",[Dispo]=âÂÂActiveâÂÂ,[Date Opened]+5,IF(AND([Status]="ONLY",[Dispo]=âÂÂActiveâÂÂ,[Date Opened]+10, "")))))
Any assistance is much appreciated.
calculated-column calculated-column-formula
calculated-column calculated-column-formula
New contributor
New contributor
edited 25 mins ago
Mohamed El-Qassas MVPâ¦
36.3k53880
36.3k53880
New contributor
asked 34 mins ago
Ulcsmarine001
173
173
New contributor
New contributor
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
You are missing AND condition close and you need to close it with additional )
as the following
AND([Status]="REFERRAL",[Dispo]="Active")
So the formula should be
=
IF([Status]="Pre-OPEN",[Date Opened]+3,
IF([Status]="OPEN",[Date of Last ROI]+30,
IF([Status]="PENDING",[Date of Last ROI]+30,
IF(AND([Status]="REFERRAL",[Dispo]="Active"),[Date Opened]+5,
IF(AND([Status]="ONLY",[Dispo]="Active"),[Date Opened]+10, "")))))
Worked great! Thanks
â Ulcsmarine001
8 mins ago
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
You are missing AND condition close and you need to close it with additional )
as the following
AND([Status]="REFERRAL",[Dispo]="Active")
So the formula should be
=
IF([Status]="Pre-OPEN",[Date Opened]+3,
IF([Status]="OPEN",[Date of Last ROI]+30,
IF([Status]="PENDING",[Date of Last ROI]+30,
IF(AND([Status]="REFERRAL",[Dispo]="Active"),[Date Opened]+5,
IF(AND([Status]="ONLY",[Dispo]="Active"),[Date Opened]+10, "")))))
Worked great! Thanks
â Ulcsmarine001
8 mins ago
add a comment |Â
up vote
3
down vote
accepted
You are missing AND condition close and you need to close it with additional )
as the following
AND([Status]="REFERRAL",[Dispo]="Active")
So the formula should be
=
IF([Status]="Pre-OPEN",[Date Opened]+3,
IF([Status]="OPEN",[Date of Last ROI]+30,
IF([Status]="PENDING",[Date of Last ROI]+30,
IF(AND([Status]="REFERRAL",[Dispo]="Active"),[Date Opened]+5,
IF(AND([Status]="ONLY",[Dispo]="Active"),[Date Opened]+10, "")))))
Worked great! Thanks
â Ulcsmarine001
8 mins ago
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
You are missing AND condition close and you need to close it with additional )
as the following
AND([Status]="REFERRAL",[Dispo]="Active")
So the formula should be
=
IF([Status]="Pre-OPEN",[Date Opened]+3,
IF([Status]="OPEN",[Date of Last ROI]+30,
IF([Status]="PENDING",[Date of Last ROI]+30,
IF(AND([Status]="REFERRAL",[Dispo]="Active"),[Date Opened]+5,
IF(AND([Status]="ONLY",[Dispo]="Active"),[Date Opened]+10, "")))))
You are missing AND condition close and you need to close it with additional )
as the following
AND([Status]="REFERRAL",[Dispo]="Active")
So the formula should be
=
IF([Status]="Pre-OPEN",[Date Opened]+3,
IF([Status]="OPEN",[Date of Last ROI]+30,
IF([Status]="PENDING",[Date of Last ROI]+30,
IF(AND([Status]="REFERRAL",[Dispo]="Active"),[Date Opened]+5,
IF(AND([Status]="ONLY",[Dispo]="Active"),[Date Opened]+10, "")))))
answered 27 mins ago
Mohamed El-Qassas MVPâ¦
36.3k53880
36.3k53880
Worked great! Thanks
â Ulcsmarine001
8 mins ago
add a comment |Â
Worked great! Thanks
â Ulcsmarine001
8 mins ago
Worked great! Thanks
â Ulcsmarine001
8 mins ago
Worked great! Thanks
â Ulcsmarine001
8 mins ago
add a comment |Â
Ulcsmarine001 is a new contributor. Be nice, and check out our Code of Conduct.
Ulcsmarine001 is a new contributor. Be nice, and check out our Code of Conduct.
Ulcsmarine001 is a new contributor. Be nice, and check out our Code of Conduct.
Ulcsmarine001 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsharepoint.stackexchange.com%2fquestions%2f250132%2fcalculated-column-if-and-question%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password