Ray Thanks very much. The frustrating thing is, I had tried using the brackets, and also (as = Linda suggested) putting Today in a separate cell then naming it, but was = getting nowhere. Thanks to you and Linda. As usual, problem solved. Colin **************************************** Colin McDonald colinmac@xxxxxxxxxxxxxxxx **************************************** -----Original Message----- From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On = Behalf Of Ray Blake Sent: 15 September 2003 14:27 To: mso@xxxxxxxxxxxxx Subject: [mso] FW: CountIF help I just tested this myself, and it still doesn't work, but I've fixed it. My starting point for the formula was this: =3DCOUNTIF(A1:A4,"<=3DTODAY()") Just like you, I was expecting some hits, but got a zero. I started = thinking about the effect of putting a formula inside a string, and realised that = it wouldn't work that way. So I built a way of resolving the function = outside the string and then tagging the result onto it, like this: =3DCOUNTIF(A1:A4,"<=3D"&TODAY()) This version actually works like you want, Colin. Ray Blake -----Original Message----- From: Ray Blake [mailto:ray@xxxxxxxxx]=20 Sent: 15 September 2003 13:57 To: 'mso@xxxxxxxxxxxxx' Subject: RE: [mso] CountIF help Colin, The obvious thing you're missing is far from obvious! For some reason, Excel treats TODAY as a function rather than a = variable, so it always needs to be followed by an empty set of brackets, thus: TODAY() Ray Blake ************************************************************* 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=20 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 ************************************************************* ************************************************************* 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 *************************************************************