Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to find out the values ​of 4 cells are the same or different in MS Excel

I found something confusing in Microsoft Excel. I fill Cell A1, A2, A3, A4 with the same number 1, then I enter the formula = A1 = A2 = A3 = A4 on cell A5, why do I get FALSE results?

Is there a way to find out the values ​​of 4 cells are the same or different?

enter image description here

like image 694
Mabaega Avatar asked Oct 15 '25 05:10

Mabaega


1 Answers

If all you are using is these numbers you could check for the standard deviation. If it's 0 then all values are equal:

=STDEV.P(A1:A4)

So a check for equality could look like:

=IF(STDEV.P(A1:A4),"Different","Equal)
like image 134
JvdV Avatar answered Oct 17 '25 18:10

JvdV



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!