Autotick a check box in excel if same info found in a column

davids4500

Board Regular
Joined
Jan 14, 2023
Messages
61
Office Version
  1. 365
Platform
  1. Windows
I have an excel spreadsheet with two sheets. Data sheet and Scan sheet. In the scan sheet I have product codes in A2:A999.
In the data sheet I have product codes in A2:A250. In Column C of the data sheet I have checkboxes.
I need a formula that if the product code in data worksheet A2 matches a code in scan worksheet A2:A999 then the checkbox in data worksheet C2 is ticked.
Thank you
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Each check box can be associated with a cell if use a Format Control Checkbox rather than ActiveX.

Right Click on the checkbox, select "Format Control" and under "Control" tab where it says "Cell Link", select a cell.

Then go to that cell and type this formula:
Excel Formula:
=IF(ISERROR(VLOOKUP(DATA!A2, SCAN!A:A, 1, FALSE)), FALSE, TRUE)

and viola!

but if you use ActiveX checkbox then I dunno an easy way.
 
Upvote 0
Solution
Each check box can be associated with a cell if use a Format Control Checkbox rather than ActiveX.

Right Click on the checkbox, select "Format Control" and under "Control" tab where it says "Cell Link", select a cell.

Then go to that cell and type this formula:
Excel Formula:
=IF(ISERROR(VLOOKUP(DATA!A2, SCAN!A:A, 1, FALSE)), FALSE, TRUE)

and viola!

but if you use ActiveX checkbox then I dunno an easy way.
T
 
Upvote 0

Forum statistics

Threads
1,226,074
Messages
6,188,727
Members
453,494
Latest member
Alt F11

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