Using your posted workbook...
I converted your data to an Excel Table named Table1. There's no need to use a fixed range with many blank rows. The Excel Table will automaticaly expand as new data rows are added. Also, formulas that reference Tables have Structured References which automatically self-document.
This regular formula, copied down through J6 returns the total price for the items and dates in the reference cells
The results are...(see attached file)
Is that something you can work with?
Bookmarks