|Please read the How To referenced in my signature line and repost your data in columns to make it easier for us to read. |
Include some example numbers and the expected result so that we don't waste time trying to guess at what your data looks like. Keep in mind that we can't see your spreadsheet from where we're sitting.
That will save all of us some time and energy.
Posting Tip: Before posting Data or VBA Code, read this How-To.