Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tomscobie
 
Posts: n/a
Default How do I create a certain equation in Excel spreadsheet?

I want to set up a box, that already has a value, so that if another box is
in the negative that amount is subtracted from the first box's value but if
it's still positive it won't affect the first box's value.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
macropod
 
Posts: n/a
Default How do I create a certain equation in Excel spreadsheet?

Hi tomscobie,

Say your first cell (box) is A1 and the second is B1, and you want to have
A1 show 10 unless B1 has a -ve value, in which case you want to reduce A1 by
B1's value. A formula you'd put in A1 to do that could be:
=10+MIN(B1,0)


Cheers


"tomscobie" wrote in message
...
I want to set up a box, that already has a value, so that if another box

is
in the negative that amount is subtracted from the first box's value but

if
it's still positive it won't affect the first box's value.



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
create excel spreadsheet on a data access page Pitu Excel Discussion (Misc queries) 0 October 3rd 05 08:11 PM
Using Excel spreadsheet as input to Access dougb415 Excel Discussion (Misc queries) 0 September 22nd 05 02:33 PM
calling a C++ program from Excel 2000 and passing a result from C++ back to an excel spreadsheet ellis kurland Excel Discussion (Misc queries) 3 August 15th 05 04:10 PM
create excel spreadsheet to display data from filled text forms pluck4me Excel Discussion (Misc queries) 0 April 20th 05 08:37 PM
How do I password protect cells in a spreadsheet created in Excel Tbenson37303 Excel Worksheet Functions 0 November 22nd 04 09:21 PM


All times are GMT +1. The time now is 04:15 AM.

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"