@jerry:
It is funny that the cells that you described as the focal cell i.e. E5 is actually not the focal cell in your spreadsheet. I opened your spreadsheet and the focal cell is actually E3, and the conditions that you specified for hidden and unhidden are different for the conditions that you specified in the spreadsheet. Hence I will proceed with the conditions that you specified in the spreadsheet to hide and unhide rows.
Also note that I have re-routed the link for your “data validation” cells (E3) to include a blank cell. With a blank cell selected, all row will be visible, until you select either A, B or C.
I have attached a spreadsheet here with the code. I will also paste the code below for you. You can modify and change the rows depending on your preference.
If you find this helpful don’t forget to mark your thread as solved and also add a reputation to the person that helped you.
Cheers
Bookmarks