How expand/collapse and go to the each section/group



Could some one please help me on after expanding the category and expand sub category and clik on each section and record the vales on each group in excel then come back to next sub catogory reapeat the same and come back to the main category and go the next catagory step by step and repeat he same steps. please help me with this scenerio.

see teh catagoreis
after clik on each section this page will appear.