I have a worksheet that has header data in the first few rows, followed by a table with column headers. The header data includes parameters that are used to calculate values in the table.
What I want is to allow the user to scroll the sheet so that the header data is no longer visible but then freeze the table heading row when it becomes the first row. Then if they need to change a parameter, they can scroll back up and the top few rows come back into view.
I thought this was fairly easy to do but I can't remember how to do it. The only option I can find is the Freeze Panes option, but that freezes everything and I only want it to freeze when the header row is at the top.
Is this even possible?
Edited - To add a little more clarification, the freeze panes option freezes everything above the selected row (unless I have missed it), which is not what I am looking for. I want the sheet to behave similar to a website where there may be an ad banner at the top, followed by a navigation bar/logo/etc., then the content. As you scroll down, the ad banner moves out of view but when the nav bar is at the top, it stops and remains in view while the content continues to scroll.
Let's say I have the first 5 rows that have cells to capture input values. Then row 6 is a table heading and rows 7-100 are the table data. I want the user to be able to hit the scroll down button 5 times to move past the input values. Then I want row 6 to freeze at the top so that as the user continues scrolling, the table heading is visible. Conversely, when the user scrolls up, row 6 remains at the top until the user gets to row 7, then if they continue scrolling, the input values move into view.
Excel does something similar if you use the "format as table" function and indicate that the selection has a header row. Then when scrolling, the column headers will replace the "A", "B", "C", etc. address labels. This won't work directly for me because the table structure is a little more complex.