Checkbox if 2 cells are equal

If the value in C2 is the same as E2 I would like the checkbox in F2 to be checked.


Seems so simple but I can't figure out how to do it.

Mac mini (M4 Pro, 2024)

Posted on Nov 11, 2025 6:56 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 11, 2025 7:30 AM

Yes and no. It depends on what you are expecting. A checkbox is meant to be for user data entry where the user checks or unchecks it. It is possible, though, to make a checkbox that checks/unchecks itself via a formula. In this case, it will no longer accept user entry, it will be controlled by the formula. It will become a visual display of a TRUE/FALSE result that happens to look like a checkbox.


Here's how you make a self-checking checkbox:

  1. Format cell F2 as a checkbox
  2. With F2 still selected, go up on the menu and click on Insert->Formula->Edit Formula
  3. In F2 put the formula C2=E2 .


When C2 is the same as E2 the result will be TRUE and the checkbox will check itself, otherwise it is FALSE and the checkbox will be unchecked.




1 reply
Question marked as Top-ranking reply

Nov 11, 2025 7:30 AM in response to jamesfromwakarusa

Yes and no. It depends on what you are expecting. A checkbox is meant to be for user data entry where the user checks or unchecks it. It is possible, though, to make a checkbox that checks/unchecks itself via a formula. In this case, it will no longer accept user entry, it will be controlled by the formula. It will become a visual display of a TRUE/FALSE result that happens to look like a checkbox.


Here's how you make a self-checking checkbox:

  1. Format cell F2 as a checkbox
  2. With F2 still selected, go up on the menu and click on Insert->Formula->Edit Formula
  3. In F2 put the formula C2=E2 .


When C2 is the same as E2 the result will be TRUE and the checkbox will check itself, otherwise it is FALSE and the checkbox will be unchecked.




This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Checkbox if 2 cells are equal

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.