Hiding rows based on drop down selection of cell

J-Fly

New Member
Joined
Jun 25, 2012
Messages
1
First time poster here so I hope I do this correctly!

Using Excel 2010

I am creating a form that will display different rows if certain selections are made. For example; cells B70-B72 are a drop down list with two options, '-' or 'sqrt'. If none equal the 'sqrt' symbol then I want to hide row 56. If one does, then row 56 will be displayed.

If this is required, the drop-down list is selecting from Sheet:'List' where D7 is 'sqrt' and D8 is '-'

There will be quite a few of these dependencies so ideally, I would be able to have many instances of the code and I could simply edit which cells are the drop down, and which cells would be shown or hidden. So for example, I could run the same code but change the drop down list to be cell B27 and then rows 36,67, and 45 would be hidden or shown.


Any help at all would be fantastic.
Thanks!
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,216,319
Messages
6,130,023
Members
449,550
Latest member
jackpaz

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