Show True if numbers match

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In cells DZ4:EG4, I have some numbers. In EH4 I would like to enter a
formula which checks if all the numbers shown match each other, i.e. if they
are consistent across the board.

If the numbers match, I'd like to show True. If one or more of the figures
is different, I'd like to show False.

Any ideas on how to do this?
 
Try something like this:

If all of the values will be numbers...
=(COUNTIF(DZ1:EG1,DZ1)=8)

or if there may be non-numerics...
=AND(ISNUMBER(DZ1),(COUNTIF(DZ1:EG1,DZ1)=8))

Does that help?
***********
Regards,
Ron

XL2002, WinXP
 
try
=if(or(DZ4:EG4<>DZ40,"False","True")
entered as an array
control-shift-enter
 
That worked great, thank you!

Ron Coderre said:
Try something like this:

If all of the values will be numbers...
=(COUNTIF(DZ1:EG1,DZ1)=8)

or if there may be non-numerics...
=AND(ISNUMBER(DZ1),(COUNTIF(DZ1:EG1,DZ1)=8))

Does that help?
***********
Regards,
Ron

XL2002, WinXP
 

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

Back
Top