Formula to check 2 ranges of cell values to see if each value is the same?

danbates

Active Member
Joined
Oct 8, 2017
Messages
377
Office Version
  1. 2016
Platform
  1. Windows
Hi,

I am after a formula that can check a range of values against another range of values individually to see if there is any difference in the cell values but I only want this formula to take up 1 cell.

I have found this formula online and it works up to a certain point.

=IFERROR(SUMPRODUCT(--(MATCH(C6:J6,C10:J10,0)>0))=COUNTA(C6:J6),FALSE)

The problem with this formula is, if I had 1 2 3 4 5 6 7 8 in C6:J6 and then I had the numbers in reverse 8 7 6 5 4 3 2 1 in C10:J10 the formula returns TRUE.

I would like the formula to return a FALSE if any of the ranges individual cells aren't exact.

Thanks

Dan
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
How about
Excel Formula:
=SUMPRODUCT(--(C6:J6<>C10:J10))=0
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,834
Messages
6,121,873
Members
449,056
Latest member
ruhulaminappu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top