If Checkbox Is Checked Then Return Content of Adjacent Cell

jpulley

New Member
Joined
Jul 25, 2024
Messages
2
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
  2. MacOS
I have inherited a document that was originally completed in Word and tasked with improvement. I'm hitting a wall trying to find the formula that will achieve the results I'm looking for.

Ideally (for example), I3 would check C3:C5 for TRUE and provide the information in D3:E5. To further complicate things, on the Veggies level there are more than one selection possible; some orders will only have one, others with have 3. In the final document, the Selection Summary will be in a separate sheet.

I'm afraid there will be a very simple solution that I'm completely overlooking. Any assistance would be greatly appreciated.

checklist-mrexcel.xlsm
ABCDEFGHIJ
1Selection Summary
2LevelChecksPart NumberPart NameLevelPart NumberPart Name
3FruitFALSE1-123123Apple Fruit
4FALSE1-234234Pear
5FALSE2-345345OrangeVeggies
6FALSE0-123123Fruit BoxAlways Select with Fruit
7
8VeggiesFALSE3-456456Peas
9FALSE3-567567CelerySpices
10FALSE3-678678Broccoli
11FALSE4-123123Corn
12FALSE4-234234Kale
13FALSE0-234234Veggie BoxAlways Select with Veg
14
15SpicesFALSE5-123123Mustard
16FALSE5-234234Cinnamon
17FALSE5-345345Clove
18FALSE5-456456Cumin
19FALSE5-567567Paprika
20FALSE5-678678Allspice
21FALSE0-345345Spice BoxAlways Select with Spices
List
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Maybe something like this:
Book1
ABCDEFGHIJ
1Selection Summary
2LevelChecksPart NumberPart NameLevelPart NumberPart Name
3FruitFALSE1-123123Apple Fruit2-345345Orange
4FALSE1-234234Pear
5TRUE2-345345OrangeVeggies3-567567Celery
6FALSE0-123123Fruit BoxAlways Select with Fruit4-123123Corn
70-234234Veggie Box
8VeggiesFALSE3-456456Peas
9TRUE3-567567CelerySpices5-234234Cinnamon
10FALSE3-678678Broccoli
11TRUE4-123123Corn
12FALSE4-234234Kale
13TRUE0-234234Veggie BoxAlways Select with Veg
14
15SpicesFALSE5-123123Mustard
16TRUE5-234234Cinnamon
17FALSE5-345345Clove
18FALSE5-456456Cumin
19FALSE5-567567Paprika
20FALSE5-678678Allspice
21FALSE0-345345Spice BoxAlways Select with Spices
Sheet1
Cell Formulas
RangeFormula
I3:J3I3=FILTER(D3:E6,C3:C6=TRUE,"")
I5:J7I5=FILTER(D8:E13,C8:C13=TRUE,"")
I9:J9I9=FILTER(D15:E21,C15:C21=TRUE,"")
Dynamic array formulas.
 
Upvote 1
Solution

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,624
Latest member
gregg777

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