LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default balance sheet problem

Hi,

I am trying to set up a spreadsheet to show my bank account balance

I want the 3 number columns to be

credit (D column) debit (E column) balance (F column)


now I have it working but...


if I
don't have a value in a debit column it displays #value in the balance
column.


So

I amend the cell formula as follows


=IF(E5="","",F4-E5+D5)

(IF debit column is empty THEN display blank ELSE display calculation
result)

but this only checks one column, the debit column

if I have a value in the credit column but leave the debit column empty
I get the #value error message.

I have put a zero in the debit column as a work-around but I would like
to fix it more elegantly

I tried using the OR function but that didn't work as one of the columns
always has a value

any help would be appreciated.





--
Nospam
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic Balance Sheet Problem capt.kash Excel Discussion (Misc queries) 2 January 29th 11 11:35 PM
balance sheet problem Nospam Excel Programming 3 June 8th 09 04:09 AM
balance sheet sw New Users to Excel 5 January 26th 09 01:09 AM
balance sheet Ryan New Users to Excel 1 October 12th 06 08:31 PM
Balance sheet plowleg Excel Discussion (Misc queries) 6 November 7th 05 01:38 PM


All times are GMT +1. The time now is 01:22 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"