Can I use both vertical and horizontal formulas

Econdude

New Member
Joined
Oct 12, 2016
Messages
1
Hey Gang,

I am attempting to create a dynamic chart where info hides or appears using a checkbox. I have been able to make it happen for EITHER the vertical OR the horizontal, but cannot figure out how to do both.

In other words, I have multiple individuals on the vertical plane and multiple months on the horizontal plane. I currently have the following formula that hides one of the 5 individuals:
=IF($C$14=1,VLOOKUP($B$17,$B$2:$N$6,2,FALSE),"")
... in each of the boxes following the invidual (using incremental numbers 2, 3, etc), linked to the TRUE/FALSE conditional of the checkbox ($C$14 in this case). So checking or unchecking the box makes the info in the table appear and disappear, and so it does in the chart as well.

The problem is that it makes every available month appear and disappear. What I would like to do is also have a horizontal formula in the same space that also reacts with another check box linked to the months of the year. This way if I check BOB for June and July, I will only see Bob's data for only June and July.

Can anybody help. It does not appear that there is a "Normal" OR function that I could use to do something like =IF($C$14=1,VLOOKUP($B$17,$B$2:$N$6,2,FALSE),"") OR IF(HLOOKUP Function).

Thanks in advance.

Econdude
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,214,982
Messages
6,122,581
Members
449,089
Latest member
Motoracer88

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