Hi,
your data layout is not the best to facilitate this kind of calculation. Can it be assumed that you will add columns for new months as the year develops? You'll probably want a formula that will be portable to new columns as well?
On top of that, your spreadsheet contains several errors, e.g.
Total in AF
AF5 =L5+P5+P5+T5 -- you double add P5
AF6 =D6+H6+L6+P6+T6+X6++AB6 -- inconsistent formula: why would this one add hidden columns, whereas the one above does not, why the double ++ ?
You'd be best advised to enter your data in a simple data entry table with one record per row
and then use a pivot table to run break downs by month/supplier and other calculations. This would also facilitate the calculation of "unpaid including postdated" with a simple SUMIF() instead of a convoluted formula that is almost impossible to construct because of hidden columns.
Also, please update your profile and indicate which Excel version you use. Solutions may differ considerably between 2003 and 2007
cheers
Bookmarks