ExcelBanter

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

kwright

Formula
 
Trying to compare the sums of two groups of cells to ensure they are equal to
each other ie: d45,f45:g45 equal to e45,h45:m45. Have tried sum, sumif, if,
nested but can't seem to find the right formula. Any Help?


T. Valko

Formula
 
Try this:

=SUM(D45,F45,G45)=SUM(E45,H45,M45)

However, if those cells contain TEXT numbers the above formula will return
TRUE but that would be a "false positive". SUM ignores TEXT so it would
break down to:

=SUM(D45,F45,G45) = 0
=SUM(E45,H45,M45) = 0

0 = 0 = TRUE

--
Biff
Microsoft Excel MVP


"kwright" wrote in message
...
Trying to compare the sums of two groups of cells to ensure they are equal
to
each other ie: d45,f45:g45 equal to e45,h45:m45. Have tried sum, sumif,
if,
nested but can't seem to find the right formula. Any Help?




David Biddulph[_2_]

Formula
 
Make that =SUM(D45,F45,G45)=SUM(E45,H45:M45)
if that's what the OP wants.
--
David Biddulph

"T. Valko" wrote in message
...
Try this:

=SUM(D45,F45,G45)=SUM(E45,H45,M45)

However, if those cells contain TEXT numbers the above formula will return
TRUE but that would be a "false positive". SUM ignores TEXT so it would
break down to:

=SUM(D45,F45,G45) = 0
=SUM(E45,H45,M45) = 0

0 = 0 = TRUE

--
Biff
Microsoft Excel MVP


"kwright" wrote in message
...
Trying to compare the sums of two groups of cells to ensure they are
equal to
each other ie: d45,f45:g45 equal to e45,h45:m45. Have tried sum, sumif,
if,
nested but can't seem to find the right formula. Any Help?






T. Valko

Formula
 
I thought I saw a comma!

--
Biff
Microsoft Excel MVP


"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Make that =SUM(D45,F45,G45)=SUM(E45,H45:M45)
if that's what the OP wants.
--
David Biddulph

"T. Valko" wrote in message
...
Try this:

=SUM(D45,F45,G45)=SUM(E45,H45,M45)

However, if those cells contain TEXT numbers the above formula will
return TRUE but that would be a "false positive". SUM ignores TEXT so it
would break down to:

=SUM(D45,F45,G45) = 0
=SUM(E45,H45,M45) = 0

0 = 0 = TRUE

--
Biff
Microsoft Excel MVP


"kwright" wrote in message
...
Trying to compare the sums of two groups of cells to ensure they are
equal to
each other ie: d45,f45:g45 equal to e45,h45:m45. Have tried sum, sumif,
if,
nested but can't seem to find the right formula. Any Help?









All times are GMT +1. The time now is 07:04 PM.

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