S
spurtniq
Here's my problem, based on my example:
I've got a checkmark in cell A1, which I refer
to in the Post Ref Column by "=A1".
If there's a checkmark in the Post Ref column,
then the entry is a balance (Either Debit or Credit).
There should ALWAYS be TWO and ONLY TWO entries.
One under the Debit OR Credit Column next to Post Ref.
The other under Debit OR Credit under Balance at Top
Right of the example image below.
If the Balance is a Debit, there should be two
Debit column entries. Vice Versa if the Balance is
a Credit.
The next row down, if the Balance above is a
Debit and the entry on THIS row is a Debit, then
Under Balance - Debit, there should be a running
Balance - Debit+Debit.
If the entry is a Credit, then Under Balance - Debit,
there should be a running Balance - Debit-Credit.
If the initial Balance is a Credit, just the opposite
applies. Subsequent Credit entries would be Credit+Credit.
Subsequent Debit entries would be Credit-Debit.
Examples:
Initial Balance:
Debit - 500
Balance (Debit) 500
Subsequent Entries
Credit - 200
Balance (Debit) 300 (500 - 200)
Debit - 400
Balance (Debit) 700 (300+400)
Initial Balance:
Credit - 500
Balance (Credit) 500
Subsequent Entries
Credit - 200
Balance (Credit) 700 (500 + 200)
Debit - 400
Balance (Credit) 300 (700-400)
If there are NO entries ALL cells should be blank.
If there ARE entries ONLY the affected cells should
have entries - ALL other cells should be blank.
What I'm trying to do is write conditional formats
for the Debit and Credit Balance cells respectively
which conforms to these conditions.
I haven't had much luck so far.
Anyone?
Thanx.
+----------------------------------------------------------------+
| Attachment filename: example.jpg |
|Download attachment: http://www.excelforum.com/attachment.php?postid=362261|
+----------------------------------------------------------------+
I've got a checkmark in cell A1, which I refer
to in the Post Ref Column by "=A1".
If there's a checkmark in the Post Ref column,
then the entry is a balance (Either Debit or Credit).
There should ALWAYS be TWO and ONLY TWO entries.
One under the Debit OR Credit Column next to Post Ref.
The other under Debit OR Credit under Balance at Top
Right of the example image below.
If the Balance is a Debit, there should be two
Debit column entries. Vice Versa if the Balance is
a Credit.
The next row down, if the Balance above is a
Debit and the entry on THIS row is a Debit, then
Under Balance - Debit, there should be a running
Balance - Debit+Debit.
If the entry is a Credit, then Under Balance - Debit,
there should be a running Balance - Debit-Credit.
If the initial Balance is a Credit, just the opposite
applies. Subsequent Credit entries would be Credit+Credit.
Subsequent Debit entries would be Credit-Debit.
Examples:
Initial Balance:
Debit - 500
Balance (Debit) 500
Subsequent Entries
Credit - 200
Balance (Debit) 300 (500 - 200)
Debit - 400
Balance (Debit) 700 (300+400)
Initial Balance:
Credit - 500
Balance (Credit) 500
Subsequent Entries
Credit - 200
Balance (Credit) 700 (500 + 200)
Debit - 400
Balance (Credit) 300 (700-400)
If there are NO entries ALL cells should be blank.
If there ARE entries ONLY the affected cells should
have entries - ALL other cells should be blank.
What I'm trying to do is write conditional formats
for the Debit and Credit Balance cells respectively
which conforms to these conditions.
I haven't had much luck so far.
Anyone?
Thanx.
+----------------------------------------------------------------+
| Attachment filename: example.jpg |
|Download attachment: http://www.excelforum.com/attachment.php?postid=362261|
+----------------------------------------------------------------+