LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 829
Default Caculating the remainding amount

"bob__" wrote:
First time poster here

[....]
i have 2 cells left that i need to get
I will call them A and B


So for your edification as a newbie here, it is better to call them what
they are (e.g. A1 and B1).

And it is prudent to show exactly the formulas or constant that each cell
contains in order to minimize ambiguities that delay your getting a usable
answer.

Bob wrote:
B always starts with 3000 (could be 4000 or anything
else later on, but for all purposes 3000 is fine)

[....]
If A is positive, nothing would be done, but if A
was -345.32 for example, that exact amount is taken
from B


Perhaps the following in B1:

=MIN(3000,3000+A1)

or

=MAX(0,MIN(3000,3000+A1))

The difference depends on whether or not you want to allow B1 to go negative
(A1 < - 3000).

 
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
Caculating multiple percents in a worksheet Paula New Users to Excel 4 January 16th 08 08:14 AM
Workbook not caculating formulas RodShaw2 Excel Discussion (Misc queries) 3 May 28th 07 07:20 PM
Caculating Columns Between Certain Dates Dermot New Users to Excel 19 January 11th 06 04:26 PM
Caculating a "staircase" discount Thomas Refsdal Excel Worksheet Functions 3 August 24th 05 08:33 AM
I need help Caculating Zip code Distances Dougal[_2_] Excel Programming 1 July 15th 05 05:12 PM


All times are GMT +1. The time now is 08:55 PM.

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

About Us

"It's about Microsoft Excel"