I have a nested IF statement, in an AND statement. The IF statement ensures that IF an "Approval Date" is entered, a value must be entered in the "Total Budget Amount Approved" column.
My list has multiple columns to input an "approval date" and "total budget amount". I am attempting to replicate this nested IF(ISBLANK criteria a total of 6 times. The cumulative budget amount cannot exceed $1000, hence the AND statement.
So far I have:
=AND([Cumulative TOTAL (not to exceed $1000)]<1001,IF(ISBLANK([(1) Approval Date]),TRUE,IF(ISBLANK([(1) Total Budget Amount Approved]),FALSE,TRUE)))
This works great.
However, when I attempt to add more, the validation results in an error. Any thoughts on how to correctly break this down? Below is unsuccessful attempt.
=AND([Cumulative TOTAL (not to exceed $1000)]<1001,IF(ISBLANK([(1) Approval Date]),TRUE,IF(ISBLANK([(1) Total Budget Amount Approved]),FALSE,TRUE,,IF(ISBLANK([(2) Approval Date]),TRUE,IF(ISBLANK([(2) Total Budget Amount Approved]),FALSE,TRUE,IF(ISBLANK([(3) Approval Date]),TRUE,IF(ISBLANK([(3) Total Budget Amount Approved]),FALSE,TRUE,IF(ISBLANK([(4) Approval Date]),TRUE,IF(ISBLANK([(4) Total Budget Amount Approved]),FALSE,TRUE,IF(ISBLANK([(5) Approval Date]),TRUE,IF(ISBLANK([(5) Total Budget Amount Approved]),FALSE,TRUE,IF(ISBLANK([(6) Approval Date]),TRUE,IF(ISBLANK([(6) Total Budget Amount Approved]),FALSE,TRUE)))
This is an extension of the response received in this post: If one column is not empty, require value in another column
UPDATE (09-20-24)
I tried using a code with the comma and semi colon however, both result in an error. See examples of the two codes below. I included the true names of the columns:
Code 1:
=AND([Cumulative TOTAL (not to exceed $1000)]<1001,IF(ISBLANK([(1) Approval Date of CNBA]),TRUE,IF(ISBLANK([(1) Amount of CNBA]),FALSE,TRUE)),IF(ISBLANK([(2) Approval Date of CNBA],TRUE,IF(ISBLANK([(2) Amount of CNBA]),FALSE,TRUE)),IF(ISBLANK([(3) Approval Date of CNBA]),TRUE,IF(ISBLANK([(3) Amount of CNBA]),FALSE,TRUE)),IF(ISBLANK([(4) Approval Date of CNBA],TRUE,IF(ISBLANK([(4) Amount of CNBA],FALSE,TRUE)),IF(ISBLANK([(5) Approval Date of CNBA]),TRUE,IF(ISBLANK([(5) Amount of CNBA]),FALSE,TRUE)),IF(ISBLANK([(6) Approval Date of CNBA]),TRUE,IF(ISBLANK([(6) Amount of CNBA],FALSE,TRUE)))
Code 2
=AND([Cumulative TOTAL (not to exceed $1000)]<1001;IF(ISBLANK([(1) Approval Date of CNBA]);TRUE;IF(ISBLANK([(1) Amount of CNBA]);FALSE;TRUE));IF(ISBLANK([(2) Approval Date of CNBA];TRUE;IF(ISBLANK([(2) Amount of CNBA]);FALSE;TRUE));IF(ISBLANK([(3) Approval Date of CNBA]);TRUE;IF(ISBLANK([(3) Amount of CNBA]);FALSE;TRUE));IF(ISBLANK([(4) Approval Date of CNBA];TRUE;IF(ISBLANK([(4) Amount of CNBA];FALSE;TRUE));IF(ISBLANK([(5) Approval Date of CNBA]);TRUE;IF(ISBLANK([(5) Amount of CNBA]);FALSE;TRUE));IF(ISBLANK([(6) Approval Date of CNBA]);TRUE;IF(ISBLANK([(6) Amount of CNBA];FALSE;TRUE)))