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

hi,
-my question is basically for example if u type a value of 50 to lets say
cell A1.
-then u make a simple equation in cell A3 which says the value in cell A3
results from A1 minus A2. ((A3=A1-A2))
-ok now say u type a value of 100 in cell A2.
-this will give a negative result in cell A3 which in this case will be -50.

-My question is is there anything in excel that can change the display of
that -50 in cell A3? Is there a formula or something that either displays a 0
figure i.e. does not display a figure with a negative result?


-The reason I ask this question is because I am working on worksheets that
calculate individuals' promises to a charity and their payments throughout
the year.
For example a person promises $500.00 and pays a total of $550.00 throughout
the course of the year. So I have created as 'Arrears' cell which would
display -$50.00 as this person has overpaid his promises.
I need something in the arrears cell that doesnt display a negative result
or displays a zero if promises are paid excatly or over the amount. Please
help.

Aplogies for the complicated question.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default cell display

try

=IF(A1-A2<0,0,A1-A2)
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default cell display

Thanks Jarek, the formula worked, appreciate it.

"Jarek Kujawa" wrote:

try

=IF(A1-A2<0,0,A1-A2)

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default cell display

you're welcome
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default cell display

=MAX(0,A1-A2)
--
David Biddulph

"kk-47" wrote in message
...
hi,
-my question is basically for example if u type a value of 50 to lets say
cell A1.
-then u make a simple equation in cell A3 which says the value in cell A3
results from A1 minus A2. ((A3=A1-A2))
-ok now say u type a value of 100 in cell A2.
-this will give a negative result in cell A3 which in this case will
be -50.

-My question is is there anything in excel that can change the display of
that -50 in cell A3? Is there a formula or something that either displays
a 0
figure i.e. does not display a figure with a negative result?


-The reason I ask this question is because I am working on worksheets that
calculate individuals' promises to a charity and their payments throughout
the year.
For example a person promises $500.00 and pays a total of $550.00
throughout
the course of the year. So I have created as 'Arrears' cell which would
display -$50.00 as this person has overpaid his promises.
I need something in the arrears cell that doesnt display a negative result
or displays a zero if promises are paid excatly or over the amount. Please
help.

Aplogies for the complicated question.





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default cell display

Thank you David, jus tried the formula n it worked, appreciate it.

"David Biddulph" wrote:

=MAX(0,A1-A2)
--
David Biddulph

"kk-47" wrote in message
...
hi,
-my question is basically for example if u type a value of 50 to lets say
cell A1.
-then u make a simple equation in cell A3 which says the value in cell A3
results from A1 minus A2. ((A3=A1-A2))
-ok now say u type a value of 100 in cell A2.
-this will give a negative result in cell A3 which in this case will
be -50.

-My question is is there anything in excel that can change the display of
that -50 in cell A3? Is there a formula or something that either displays
a 0
figure i.e. does not display a figure with a negative result?


-The reason I ask this question is because I am working on worksheets that
calculate individuals' promises to a charity and their payments throughout
the year.
For example a person promises $500.00 and pays a total of $550.00
throughout
the course of the year. So I have created as 'Arrears' cell which would
display -$50.00 as this person has overpaid his promises.
I need something in the arrears cell that doesnt display a negative result
or displays a zero if promises are paid excatly or over the amount. Please
help.

Aplogies for the complicated question.




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default cell display

Glad it helped.
--
David Biddulph

"kk-47" wrote in message
...
Thank you David, jus tried the formula n it worked, appreciate it.

"David Biddulph" wrote:

=MAX(0,A1-A2)
--
David Biddulph

"kk-47" wrote in message
...
hi,
-my question is basically for example if u type a value of 50 to lets
say
cell A1.
-then u make a simple equation in cell A3 which says the value in cell
A3
results from A1 minus A2. ((A3=A1-A2))
-ok now say u type a value of 100 in cell A2.
-this will give a negative result in cell A3 which in this case will
be -50.

-My question is is there anything in excel that can change the display
of
that -50 in cell A3? Is there a formula or something that either
displays
a 0
figure i.e. does not display a figure with a negative result?


-The reason I ask this question is because I am working on worksheets
that
calculate individuals' promises to a charity and their payments
throughout
the year.
For example a person promises $500.00 and pays a total of $550.00
throughout
the course of the year. So I have created as 'Arrears' cell which would
display -$50.00 as this person has overpaid his promises.
I need something in the arrears cell that doesnt display a negative
result
or displays a zero if promises are paid excatly or over the amount.
Please
help.

Aplogies for the complicated question.






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
find last cell in range with data, display cell address sevi61 Excel Worksheet Functions 14 October 29th 07 08:36 PM
display text in one cell as a number in an adjacent cell in excel Denno New Users to Excel 1 November 16th 06 05:13 PM
Display contents of cell in another cell as part of text string? [email protected] New Users to Excel 3 July 8th 06 07:44 PM
How to click on a cell and have the content of the cell display in a different cell [email protected] Excel Worksheet Functions 0 June 6th 06 03:05 PM
large text amount in cell will not display in the cell dbelch01 Excel Discussion (Misc queries) 3 June 15th 05 03:43 PM


All times are GMT +1. The time now is 08:19 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"