Filtered by checkboxes

floW_5

New Member
Joined
Jan 4, 2024
Messages
29
Office Version
  1. 365
Platform
  1. Windows
Hey, if i may please get some assistance, my main intention with the table below as a sample.

1). Under "Beverage" (cell J2) have individual check boxes to filter out individual or multiple criteria at once.

2). Instead of having individual check boxes for each Type of drink (coffee, soda, water, ect.), is it possible to just have "Coffee" (cell L2) as a header and just using 2 checkboxes for Yes or No. If "Yes" is checked, it will show both Coffee and all other type of beverages. If "No" is checked, it will only show every other type of beverages excluding coffee.

3).Under "Prev. day sales" (cell N2) can excel assign different category with number range with checkboxes so that if i check one or multiple boxes, it will only show what is checked within those specific range?
The 4 category would be named in the cell as-
0-10 (so only show day sales 9 or under)
10-20 (only show day sales 10-20)
20-30
30+(show day sales 30 or more)

4). Instead of doing specific full dates, can a certain year be checked instead, as well as specific or multiple months. For example, only want to show 2024 AND 2023 with only Jan, Feb, Mar checked.


Sample.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXY
1
2DateBeverageTypeInventoryPrev.day salesMorn. sales <10:00Mid sales 11-14:00After. sales 14:00>BeverageCoffeePrev. day salesYearMonth
301-Jan-24LatteCoffee5037201417 UpYes0-102020JanAprJulOct
401-Mar-24CokeSoda50323156CappucinoNo 10-202021FebMayAugNov
506-Apr-21Mount FranklinWater502520165Coke20-302022MarJunSepDec
604-Mar-20EspressoCoffee301574Espresso30>2023
712-Feb-20CappucinoCoffee3026107Fanta2024
826-Jul-23Pepsi Soda4011172Getarade
927-Sep-21Mountain DewSoda20731Latte
1017-Sep-217 UpSoda2074Mount Franklin
1122-Nov-23Red BullEnergy301055Mountain Dew
1205-Oct-23GetaradeEnergy30519Pepsi
1313-Sep-21FantaSoda20762Red Bull
14
15
Sheet1
Cell Formulas
RangeFormula
J3:J13J3=SORT(UNIQUE(Menu[Beverage]))
Dynamic array formulas.


I understand these are loaded questions. I have done some research on my behalf and only found a conclusion for question 1 with the filter function method I believe. But before I decide to make that change I was hoping the following questions is also doable for it to be worth it. If not I would have to scrap this idea up and move onto other methods instead unfortunately (no checkbox).

Edit: I uploaded a image to show where the checkboxes are in the cells. Xl2bb for whatever reason does not capture the checkboxes.
 

Attachments

  • Screenshot 2024-07-14 215849.png
    Screenshot 2024-07-14 215849.png
    49.5 KB · Views: 2

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi,
Forget the checkboxes. XL has got a lot of qualified filter functions you can use.
Best wishes
 
Upvote 0
I have decided to scrap the checkboxes method but have made a new thread instead using filter function criteria base from text from cells. Is it possible to delete this post?
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

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