![]() |
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. |
cell display
try
=IF(A1-A2<0,0,A1-A2) |
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. |
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. |
cell display
Thanks Jarek, the formula worked, appreciate it.
"Jarek Kujawa" wrote: try =IF(A1-A2<0,0,A1-A2) |
cell display
you're welcome
|
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. |
All times are GMT +1. The time now is 05:29 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com