check three values

clares

Well-known Member
Joined
Mar 14, 2002
Messages
557
Hi there

I want to be able to test three cells (C2, D2, E2) to ensure that each cell has the same numerical value in it. If it were just two cells I could use a simple If statement. Has anybody got a simple formula that would test the three cells. My spreadsheet has 52003 rows and I don't want to check manually. I would need some text value to say check if all three cells don't match?

As per usual thank you in advance.

Kind regards

Peter
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Hi there

I want to be able to test three cells (C2, D2, E2) to ensure that each cell has the same numerical value in it. If it were just two cells I could use a simple If statement. Has anybody got a simple formula that would test the three cells. My spreadsheet has 52003 rows and I don't want to check manually. I would need some text value to say check if all three cells don't match?

As per usual thank you in advance.

Kind regards

Peter
One way...

Book1
CDEF
2989898TRUE
310010FALSE
40010FALSE
5111TRUE
Sheet1

This array formula** entered in F2 and copied down:

=AND(C2:E2=C2)

** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
 
Upvote 0

Forum statistics

Threads
1,214,614
Messages
6,120,517
Members
448,968
Latest member
Ajax40

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