So why did you say I'm glad you fguredn it out?
I thought that is what you meant when you said this:
All you hadto do was move the headers so they are above the data.
As I have seen in your other posts, other people are having problems trying to help you also (or at least it take longer than it should to figure it out). They key is to make it easy for people to help you by posting what you need, and you haven't been doing that. Problems of a more complex nature need more detail. Here is a good link on how to post a good, complete question:
Guidelines
As it is, none of your screen prints really show me what I have been asking for. So I will try this one more time. The only way that I am going to be able to help you at this point is if you provide ALL (and not just "some") of the things I list below:
1. A sample of what your initial data/formulas looks like
2. A sample of that you want the output from the data sample above looks like (expected output from your sample data above in item 1)
3. Items 1 and 2 above posted either:
- using the XL2BB tool so we can see all data, formulas, and row and column headers
OR
- if not able to use XL2BB, post your file to a file sharing site (like DropBox, OneDrive, etc) and provide a link so we can download a copy of your file to see for ourselves
Without ALL of those three things, I don't think I can help you with this problem.