Having problem with an Excel formula.
I have a worksheet I have named 12-25.
There are two columns that I need to compare from, which are b2:b54, wich is a date column, and d2:d54, which is a text column.
On a seperate worksheet, I am trying to count how many times a given value in d2:d54 falls within a date range in b2:b54. I have tried an =IF(AND function, but cannot get Access to tabulate what I am looking for. Here is an example of the formula I am trying to use:
=COUNT(IF(AND('12-25'!b2:b54>"12/31/2007"+0,'12-25'!b2:b54<"02/01/2008"+0,'12-25'!d2:d54="ABC"),'12-25'!A2:A54))
Any help would be greatly appreciated.
Thanks
I have a worksheet I have named 12-25.
There are two columns that I need to compare from, which are b2:b54, wich is a date column, and d2:d54, which is a text column.
On a seperate worksheet, I am trying to count how many times a given value in d2:d54 falls within a date range in b2:b54. I have tried an =IF(AND function, but cannot get Access to tabulate what I am looking for. Here is an example of the formula I am trying to use:
=COUNT(IF(AND('12-25'!b2:b54>"12/31/2007"+0,'12-25'!b2:b54<"02/01/2008"+0,'12-25'!d2:d54="ABC"),'12-25'!A2:A54))
Any help would be greatly appreciated.
Thanks