test 2 ranges

D

Dave

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
 
T

T. Valko

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
 
D

driller

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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top