#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default test 2 ranges

This should be simple but i can't see it.

How do I return TRUE/FALSE if the sum of 2 ranges are equal. The ranges are
different sizes (say) a1:a3 and b1:b6 so obviously I'm not looking at each
cell individually, just the sum of the ranges.

d


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default test 2 ranges

=SUM(A1:A3)=SUM(B1:B6)

If this post helps click Yes
---------------
Jacob Skaria


"Dave" wrote:

This should be simple but i can't see it.

How do I return TRUE/FALSE if the sum of 2 ranges are equal. The ranges are
different sizes (say) a1:a3 and b1:b6 so obviously I'm not looking at each
cell individually, just the sum of the ranges.

d


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default test 2 ranges

Hi,

The little used DELTA function

=DELTA(SUM(A1:A3),SUM(B1:B6))=1

Mike




"Dave" wrote:

This should be simple but i can't see it.

How do I return TRUE/FALSE if the sum of 2 ranges are equal. The ranges are
different sizes (say) a1:a3 and b1:b6 so obviously I'm not looking at each
cell individually, just the sum of the ranges.

d


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default test 2 ranges

Just a nitpicking caveat.

If the numbers are really TEXT numbers =SUM()=SUM() could return a false
positive. If the numbers are TEXT numbers then:

SUM() = 0 and SUM() = 0
0 = 0 = TRUE

--
Biff
Microsoft Excel MVP


"Jacob Skaria" wrote in message
...
=SUM(A1:A3)=SUM(B1:B6)

If this post helps click Yes
---------------
Jacob Skaria


"Dave" wrote:

This should be simple but i can't see it.

How do I return TRUE/FALSE if the sum of 2 ranges are equal. The ranges
are
different sizes (say) a1:a3 and b1:b6 so obviously I'm not looking at
each
cell individually, just the sum of the ranges.

d




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default test 2 ranges

Thanks Biff...

If this post helps click Yes
---------------
Jacob Skaria


"T. Valko" wrote:

Just a nitpicking caveat.

If the numbers are really TEXT numbers =SUM()=SUM() could return a false
positive. If the numbers are TEXT numbers then:

SUM() = 0 and SUM() = 0
0 = 0 = TRUE

--
Biff
Microsoft Excel MVP


"Jacob Skaria" wrote in message
...
=SUM(A1:A3)=SUM(B1:B6)

If this post helps click Yes
---------------
Jacob Skaria


"Dave" wrote:

This should be simple but i can't see it.

How do I return TRUE/FALSE if the sum of 2 ranges are equal. The ranges
are
different sizes (say) a1:a3 and b1:b6 so obviously I'm not looking at
each
cell individually, just the sum of the ranges.

d







  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 740
Default test 2 ranges

Sorry to intrrupt,

quite confused after a test

A1:A3 = {2.1,2.3,2.4}
B1:B6 = {2.3,2.4,2.1,0,0,0}

testing formula
on C1 =SUM(A1:A3)=SUM(B1:B6) TRUE
on D1 =DELTA(SUM(A1:A3),SUM(B1:B6))=1 FALSE

Is there a simple explanation fo this varying test result-method.

regards,
"Mike H" wrote:

Hi,

The little used DELTA function

=DELTA(SUM(A1:A3),SUM(B1:B6))=1

Mike




"Dave" wrote:

This should be simple but i can't see it.

How do I return TRUE/FALSE if the sum of 2 ranges are equal. The ranges are
different sizes (say) a1:a3 and b1:b6 so obviously I'm not looking at each
cell individually, just the sum of the ranges.

d


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
how copy formula that contains ranges so ranges do not overlap Patty Excel Worksheet Functions 1 November 20th 08 04:15 PM
TEST CFAVRE Excel Discussion (Misc queries) 0 August 4th 08 05:08 PM
Calculate mean of test scores from rows of test answers RiotLoadTime Excel Discussion (Misc queries) 1 July 26th 06 05:14 PM
Test IF Two Numeric Values Match (from two separate Dynamic Ranges) Sam via OfficeKB.com Excel Worksheet Functions 3 August 14th 05 12:20 AM
test..where are my messages..test HT New Users to Excel 0 January 23rd 05 06:23 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"