compare cells

Muthukrishnan V

Active Member
Joined
May 29, 2008
Messages
272
Office Version
  1. 365
Platform
  1. Windows
Excel 2003 - A formula in "Sheet3 J6" which should compare the numerical
value in "Sheet1 C116", "Sheet2 E60" and "Sheet3 D82" are same. I mean, if all the three values are same, return say, "true" and if ALL the three are NOT same return "false". Request help.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Try:

=AND(Sheet3!J6=Sheet1!C116,Sheet3!J6=Sheet2!E60,Sheet3!J6=Sheet3!D82)

Hope that helps.
 
Upvote 0
Try this also, you need to adjust your ranges to suit

=IF(AND(H3=I3,H3=J3,H3=J3),TRUE,IF(AND(H3<>I3,H3<>J3,H3<>J3),FALSE,"Matching"))

KR


Dave
 
Upvote 0
Still not able to achieve the result. Cell J6 returns "0" when all the three cells are either same or different.
 
Upvote 0
If you are trying to use the formula I gave you in J6 of sheet3 then you will get 0 because that is a circular reference as one of the cells you are comparing is J6?

Not sure what exactly you are trying to do because you cannot check a cell for a value within that same cell?
 
Upvote 0

Forum statistics

Threads
1,214,627
Messages
6,120,610
Members
448,973
Latest member
ChristineC

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