ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   formula (https://www.excelbanter.com/excel-worksheet-functions/218137-formula.html)

chrisnsmith

formula
 
I need to do the following.
Column A+C-E=
Column B+D-F=
Compare these formulas and if the answer is the same post the answer in
column G,if < than 0, if not say false.
How do I do this?

Pete_UK

formula
 
In G1:

=IF(A1+C1-E1=B1+D1-F1,A1+C1-E1,"FALSE")

Copy down as required.

Hope this helps.

Pete

On Jan 28, 2:06*am, chrisnsmith
wrote:
I need to do the following.
Column A+C-E=
Column B+D-F=
Compare these formulas and if the answer is the same post the answer in
column G,if < than 0, if not say false.
How do I do this?



chrisnsmith

formula
 
Thanks Pete, the formula does just what I wanted, but can you tell me how to
get it to return the number as a positive even if it is a negative?

"Pete_UK" wrote:

In G1:

=IF(A1+C1-E1=B1+D1-F1,A1+C1-E1,"FALSE")

Copy down as required.

Hope this helps.

Pete

On Jan 28, 2:06 am, chrisnsmith
wrote:
I need to do the following.
Column A+C-E=
Column B+D-F=
Compare these formulas and if the answer is the same post the answer in
column G,if < than 0, if not say false.
How do I do this?




Dana DeLouis[_3_]

formula
 
me how to get it to return the number as a positive
even if it is a negative?


If there might be round-off errors, perhaps another idea...

=IF(ABS(A1 - B1 + C1 - D1 - E1 + F1) < 1E-10,ABS(A1+C1-E1),FALSE)

= = =
HTH :)
Dana DeLouis


chrisnsmith wrote:
Thanks Pete, the formula does just what I wanted, but can you tell me how to
get it to return the number as a positive even if it is a negative?

"Pete_UK" wrote:

In G1:

=IF(A1+C1-E1=B1+D1-F1,A1+C1-E1,"FALSE")

Copy down as required.

Hope this helps.

Pete

On Jan 28, 2:06 am, chrisnsmith
wrote:
I need to do the following.
Column A+C-E=
Column B+D-F=
Compare these formulas and if the answer is the same post the answer in
column G,if < than 0, if not say false.
How do I do this?



chrisnsmith

formula
 
How can I get this formula to recognize blank cells as 0 (zero)?

"Pete_UK" wrote:

In G1:

=IF(A1+C1-E1=B1+D1-F1,A1+C1-E1,"FALSE")

Copy down as required.

Hope this helps.

Pete

On Jan 28, 2:06 am, chrisnsmith
wrote:
I need to do the following.
Column A+C-E=
Column B+D-F=
Compare these formulas and if the answer is the same post the answer in
column G,if < than 0, if not say false.
How do I do this?




David Biddulph[_2_]

formula
 
That formula *will* treat blank cells as zero.
--
David Biddulph

"chrisnsmith" wrote in message
...
How can I get this formula to recognize blank cells as 0 (zero)?

"Pete_UK" wrote:

In G1:

=IF(A1+C1-E1=B1+D1-F1,A1+C1-E1,"FALSE")

Copy down as required.

Hope this helps.

Pete

On Jan 28, 2:06 am, chrisnsmith
wrote:
I need to do the following.
Column A+C-E=
Column B+D-F=
Compare these formulas and if the answer is the same post the answer in
column G,if < than 0, if not say false.
How do I do this?







All times are GMT +1. The time now is 12:06 PM.

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