ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   coping formula (https://www.excelbanter.com/new-users-excel/181388-coping-formula.html)

Darts via OfficeKB.com

coping formula
 
I am trying to copy a formula down a column. When I copy the formula down I
want the cell to be blank until i fill out the cells to give me my balance.
My three columns are
Debit / credit / balance. My formual reads : f7(balance column)+e8(credit
column)-d8 (debit column)

when i copy the formula down form my balance column it gives me the balance
in every cell. I would like for it to be blank until i fill in my debits and
credits. I hope you understand the way i wrote this

thanks

much

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...l-new/200803/1


cpt7750

coping formula
 
You can try the formula:
=IF(AND(D8 = 0,E8 = 0),"",F7+E8-D8)
if you want the cell to be blank until a number is entered into either/both
debit or credit columns.

or:
=IF(D3 = 0,"",F2+E3-D3)
if you are interested in if debit is not blank.

or:
=IF(E3 = 0,"",F2+E3-D3)
for credit not blank.

You will have to enter a number in either column D or E on each row (for any
of the 3 formulas) or you will get a #value error on entry of a number after
a completely blank line.
ct

"Darts via OfficeKB.com" wrote:

I am trying to copy a formula down a column. When I copy the formula down I
want the cell to be blank until i fill out the cells to give me my balance.
My three columns are
Debit / credit / balance. My formual reads : f7(balance column)+e8(credit
column)-d8 (debit column)

when i copy the formula down form my balance column it gives me the balance
in every cell. I would like for it to be blank until i fill in my debits and
credits. I hope you understand the way i wrote this

thanks

much

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...l-new/200803/1



Darts via OfficeKB.com

coping formula
 
cpt7750 wrote:
You can try the formula:
=IF(AND(D8 = 0,E8 = 0),"",F7+E8-D8)
if you want the cell to be blank until a number is entered into either/both
debit or credit columns.

or:
=IF(D3 = 0,"",F2+E3-D3)
if you are interested in if debit is not blank.

or:
=IF(E3 = 0,"",F2+E3-D3)
for credit not blank.

You will have to enter a number in either column D or E on each row (for any
of the 3 formulas) or you will get a #value error on entry of a number after
a completely blank line.
ct

I am trying to copy a formula down a column. When I copy the formula down I
want the cell to be blank until i fill out the cells to give me my balance.

[quoted text clipped - 9 lines]

much


Thanks! Your the best!!! You people are wonderful!!!

--
Message posted via http://www.officekb.com



All times are GMT +1. The time now is 06:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com