Originally Posted by
DonkeyOte
If the revised version worked for you then that implies that either of or both of the date strings you were using within the DATEVALUE functions were invalid - ie could not be coerced - eg DATEVALUE("31/2/2003")
(in reality given the errors outlined that was the only cause that seemed possible)
Thanks. Do you mind clarifying that "could not be coerced"? What would be the reason?
Also your formula works throughout, just finished checking. One minor glitch I've noticed though. How does this particular formula cope with null values? Specifically where the date cell is empty? One of the earliest dates and entries in my data has an empty date value and it looks like the formula has some how concluded that this empty cell date falls into 0100 (Janurary 2001) as it's including the amount within it. Technically the result from the formula should be £0.00 as there is no cell in that date range but it's including an empty cell with no date. This is the only cell with an empty date, I should really try to fill it but as I can't conclude it why would it add it into this particular formula?
The funny thing is, for this particular sum, if I use the old formula it works correctly (old as in the initial one i posted) which returns £0.00
Edit: To clarify
Results correctly with £0.00
Results in £11.97 which is the value of column F: in the no date row.
Bookmarks