Hi using excel 2003 Have a column with dates , and two additional columns with a 1 next to date if in attendance Max no of attendances are recorded in a different column What I want to do is write a formula like If (date 1 >= 01/12/2007 and date 2 <= 03/04-2008, sum (column th attendances in) / max no of attendances expressed as a percentage Not sure how to do the if statement ann Ann E Fitzmaurice Medical Statistician Immpact University of Aberdeen Health Sciences Building Foresterhill Aberdeen, AB25 2ZD Scotland Tel: +44 (0)1224 553876 Fax: +44 (0)1224 555704 Email: a.e.fitzmaurice@xxxxxxxxxx <mailto:a.e.fitzmaurice@xxxxxxxxxx> The University of Aberdeen is a charity registered in Scotland, No SC013683. ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, visit the group's homepage and use the dropdown menu at the top. This will allow you to unsubscribe your email address or change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to share files with the group, you must join our Yahoo sister group. This group will not allow for posting of emails, but will allow you to join and share problem files, templates, etc.: http://tech.groups.yahoo.com/group/MicrosoftOffice . This group is for FILE SHARING ONLY. If you are using Outlook and you see a lot of unnecessary code in your email messages, read these instructions that explain why and how to fix it: http://personal-computer-tutor.com/abc3/v28/greg28.htm *************************************************************