#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default SPREADSHEET

Want a cell to enter "0" for values = to 0 or <0, and then take the positive
difference in that same cell and put it into another cell.

ie: In the worksheet I have a descending loan balance that will be
progressively reduced to zero from positive cash flow until the the loan is
ultimately paid of. In the last month of paying off the loan, the amount
owed will be less than the positive cash flow for the month leaving a credit
balance instead of reducing the balance to "0'. if I can get the results in
the cell to show '0" I would then want the cash flow over and above the final
loan payment to go into another cell that would start accumulating the profit
or positive cash flow for the remainder of the project.
--
Steve Pont

--
Steve Pont
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default SPREADSHEET

"Steve" wrote...
Want a cell to enter "0" for values = to 0 or <0, and then take the
positive
difference in that same cell and put it into another cell.

....

X is the balance, Y is the payment, use

=MAX(0,X-Y)

for the balance after applying the payment and

=MAX(0,Y-X)

for the credit balance after applying the payment. Prior to the last
payment, the former will be positive and the latter zero. Just after the
last payment, the former will be zero and the latter either zero or
positive.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default SPREADSHEET

New at this. Are both formulas in the same cell? And if they are, are they
in every cell say Jan - Feb, etc.
Jan Feb Mar
payment from closings 3000 4000 2500
gross profit 0 2000 4500
beg loan balance 5000 2000 0
end loan balance 2000 -2000(want this to be "0")
(want the 2000 to go into
gross profit Feb cell)

--
Steve Pont


"Harlan Grove" wrote:

"Steve" wrote...
Want a cell to enter "0" for values = to 0 or <0, and then take the
positive
difference in that same cell and put it into another cell.

....

X is the balance, Y is the payment, use

=MAX(0,X-Y)

for the balance after applying the payment and

=MAX(0,Y-X)

for the credit balance after applying the payment. Prior to the last
payment, the former will be positive and the latter zero. Just after the
last payment, the former will be zero and the latter either zero or
positive.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default SPREADSHEET

Hi Steve

Since you want your Gross Profit to be accumulating, you need a slight
modification to one of Harlan's formulae to add the previous column's
value.

Assuming your data as shown is in cells A1:D5
In cell B2 enter
=MAX(0,B2-B4)+N(A3)
and copy across through cells C2:D2

In cell B4 enter
=MAX(0,B4-B2)
and copy across through cells C4:D4

--
Regards

Roger Govier


"Steve" wrote in message
...
New at this. Are both formulas in the same cell? And if they are,
are they
in every cell say Jan - Feb, etc.
Jan Feb Mar
payment from closings 3000 4000 2500
gross profit 0 2000 4500
beg loan balance 5000 2000 0
end loan balance 2000 -2000(want this to be "0")
(want the 2000 to go
into
gross profit Feb cell)

--
Steve Pont


"Harlan Grove" wrote:

"Steve" wrote...
Want a cell to enter "0" for values = to 0 or <0, and then take the
positive
difference in that same cell and put it into another cell.

....

X is the balance, Y is the payment, use

=MAX(0,X-Y)

for the balance after applying the payment and

=MAX(0,Y-X)

for the credit balance after applying the payment. Prior to the last
payment, the former will be positive and the latter zero. Just after
the
last payment, the former will be zero and the latter either zero or
positive.





Reply
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
How do I copy spreadsheet data as shown to another spreadsheet? trainer07 Excel Discussion (Misc queries) 2 August 7th 06 09:39 PM
In Excel I want to copy text from spreadsheet to spreadsheet Kris Excel Worksheet Functions 3 June 9th 06 07:58 PM
convert ms works spreadsheet to excel spreadsheet on pda d Excel Discussion (Misc queries) 0 February 20th 06 10:40 AM
conversion of MS Works Spreadsheet to Excel 2002 Spreadsheet Kellie Excel Discussion (Misc queries) 1 March 24th 05 06:31 PM
Is there a way to insert a formula, password or macro in an excel spreadsheet that will automatically delete the spreadsheet? oil_driller Excel Discussion (Misc queries) 1 February 8th 05 09:34 AM


All times are GMT +1. The time now is 11:00 AM.

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"