I have a worksheet where the value in the cells B9 and B10 are entered manually. I would like to set up a code where Rows 20 to 25 show up based on the values entered in these cells.
Cell B9 can only have the value of 4 or 6. Cell B10 can have the value of anywhere from 0 to 60.
Here's what I need to do:
If cell B9 is 4 and B10 is 30 or less - rows 20 to 25 to be hidden
If cell B9 is 6 and B10 is 30 or less - Rows 22 to 25 to be hidden
If cell B9 is 4 and B10 is more than 30 - Rows 22 to 25 to be hidden
If cell B9 is 6 and B10 is between 30 and 45 - row 24 should be hidden
If cell B9 is 6 and B10 is more than 30 - all rows should show.
Thank you very much.
Cell B9 can only have the value of 4 or 6. Cell B10 can have the value of anywhere from 0 to 60.
Here's what I need to do:
If cell B9 is 4 and B10 is 30 or less - rows 20 to 25 to be hidden
If cell B9 is 6 and B10 is 30 or less - Rows 22 to 25 to be hidden
If cell B9 is 4 and B10 is more than 30 - Rows 22 to 25 to be hidden
If cell B9 is 6 and B10 is between 30 and 45 - row 24 should be hidden
If cell B9 is 6 and B10 is more than 30 - all rows should show.
Thank you very much.