ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Formula to return an answer using a calculation (https://www.excelbanter.com/excel-worksheet-functions/85771-formula-return-answer-using-calculation.html)

Autumn Dreams

Formula to return an answer using a calculation
 
I need a formula that if a number in a cell is greater to or equal to a
number in a seperate cell it calculates the difference. This is for
over/under calculation. If the cash that is suppose to be there is greater
than the actual cash counted it's a shortage, if the cash that is suppose to
be there is less than the actual cash counted it is an overage. The formula
need to return a negative or positive or Zero number. It can be in one or
two seperate formulas. Thank you.

95 - 85 = 10

85 - 95 = -10

95 - 95 = 0

Michael M

Formula to return an answer using a calculation
 
Hi
=A1-B1

HTH
Michael M

"Autumn Dreams" wrote:

I need a formula that if a number in a cell is greater to or equal to a
number in a seperate cell it calculates the difference. This is for
over/under calculation. If the cash that is suppose to be there is greater
than the actual cash counted it's a shortage, if the cash that is suppose to
be there is less than the actual cash counted it is an overage. The formula
need to return a negative or positive or Zero number. It can be in one or
two seperate formulas. Thank you.

95 - 85 = 10

85 - 95 = -10

95 - 95 = 0



All times are GMT +1. The time now is 03:22 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com