Benedict Afiemo
New Member
- Joined
- Oct 21, 2016
- Messages
- 2
Hello. I've searched for similar issues before posting this question and have found nothing yet. Please be kind to me.
Background
My sheet takes two inputs: Contributions and Borrowings. Contributions are made once a month and entered into the sheet; borrowings can be made on demand. Borrowings are to be restricted to double the cumulative amount contributed. However, if there is an existing borrowing, the account holder must reduce it to zero before being allowed to borrow again.
The goal of my sheet is to automatically compute the amount available for borrowing and restrict data entry in a borrowing cell to the max of that amount. Please note that if the account holder has already been loaned, the available borrowing is Zero.
My Attempt
I used Data Validation (max of, decimal), calling the criteria from a key cell. The key cell has this formula: =IF(AD10<>0,0,AF10). The AF column contains the available borrowing amount, computed as twice the amount of cumulative contributions. The AD column contains cumulative borrowings. The Data validation is supposed to make sure the amounts entered for borrowings are no higher than the amount in the key cell, which is either Zero, or double cumulative contributions.
Problem
Data Validation refuses ALL entry into the borrowing cells, even when they meet the criteria. I've tested around and the problem seems to be the feature having a bias against IF statements. As long as there's an IF statement in the key cell, it refuses to allow anything.
Please offer any possible help. Alternate solutions are welcome. I'm also a newbie so pardon if my ignorance is obvious.
Thank You.
Background
My sheet takes two inputs: Contributions and Borrowings. Contributions are made once a month and entered into the sheet; borrowings can be made on demand. Borrowings are to be restricted to double the cumulative amount contributed. However, if there is an existing borrowing, the account holder must reduce it to zero before being allowed to borrow again.
The goal of my sheet is to automatically compute the amount available for borrowing and restrict data entry in a borrowing cell to the max of that amount. Please note that if the account holder has already been loaned, the available borrowing is Zero.
My Attempt
I used Data Validation (max of, decimal), calling the criteria from a key cell. The key cell has this formula: =IF(AD10<>0,0,AF10). The AF column contains the available borrowing amount, computed as twice the amount of cumulative contributions. The AD column contains cumulative borrowings. The Data validation is supposed to make sure the amounts entered for borrowings are no higher than the amount in the key cell, which is either Zero, or double cumulative contributions.
Problem
Data Validation refuses ALL entry into the borrowing cells, even when they meet the criteria. I've tested around and the problem seems to be the feature having a bias against IF statements. As long as there's an IF statement in the key cell, it refuses to allow anything.
Please offer any possible help. Alternate solutions are welcome. I'm also a newbie so pardon if my ignorance is obvious.
Thank You.