Christine, The formula you need is: =SUM(IF($D$2:$D$1000=DATEVALUE("08/07/2004"),$E$2:$E$1000,0)) Remember when you enter it to mark it as an array formula, by using CTRL+ENTER. The formula assumes you have data in 1000 rows. Note that you could change the references to look at the whole of columns D and E, but Array formulae are a real drag on the system and recalculation would take an age. On the other hand, you don't want to be worrying about data expanding beyond the formula's reach. I'd therefore suggest you apply dnamic range naming. For a guide on how to combine this with array formulae, have a look at my article here: http://www.grbps.com/Excel5.pdf Ray ------------------------------------ GR Business Process Solutions Ray Blake Head of Software Design ray@xxxxxxxxx Braedon Newell Road Hemel Hempstead Herts HP3 9PD tel: 01442 396518 fax: 01442 389353 www.grbps.com ------------------------------------ -----Original Message----- From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf Of McDonald, Christine, Ms, DCAA Sent: 03 August 2004 17:14 To: mso@xxxxxxxxxxxxx Subject: [mso] Array Formula I have a spreadsheet that has a date in column D and the number of hours in column E. I need to make a formula that looks at the date in column D and if the date equals 8-7-04, then it should add the number in column E. I'm pretty sure I need an array formula, but I can't figure out how to write it. The date is custom Excel date format. Any help would be greatly appreciated. Thanks, Christine McDonald Technical Specialist Regional Webmaster Western Regional Office Information Technology Division (RSA-4) ************************************************************* 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, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles *************************************************************