I don't know of a way, but you could potentially use views for this and have a different view for each scenario as long as there aren't too many combos. You could have a view that shows one section...a view for just the other section...or a view for both. The user would be switched to whichever view was relevant to the criteria that determines which sections are visible.