Hmm, I can't really tell how your formula is supposed to work, since it's not obvious to me how you would even provide the two dates for comparison to the formula (you have 'DDMMYYYY', but that is a date format, not a field name); unless you're providing these dates separately.
I'm not sure how your data is structured, so I'm making a few assumptions here, but if you have a table called "Sessions" (with {Date field} and {Data field}), and another called "Events" (where you have the start and end date for comparison), in Events, you can set up the following fields:
- Start Date
- End Date
- Linked field, to "Sessions"
- Lookup/Rollup field, based on linked field to "Sessions", returning {Data Field},
limited to records where- {Date Field} is after Start Date
- {Date Field} is before End Date.
Side note: why DDMMYYY for comparison? Wouldn't YYYYMMDD work better?