I am using Excel 2007 at work. I want to add a condition to a formula that updates a cell in another worksheet (in the same workbook) if an entry is made within a specific month. So... I currently have the following formula;
=(A4-E4)/365
'A' = current system date, 'E' = input date of birth - This formula calculates current age and returns it to 'F'.
'C' is date of record entry.
=COUNTIF('Data input'!F$4:F$1003,">=16")-COUNTIF('Data input'!F$4:F$1003,">=18") - this formula splits the returned data on a separate worksheet into a range of ages. What I need to do is add a condition that only counts them if 1) the conditions in the COUNTIF formula are met AND the entry is on a specific date. I tried;
=COUNTIF('Data input'!F$4:F$1003,">=16")-COUNTIF('Data input'!F$4:F$1003,">=18")-COUNTIF('Data input'!C$4:C$1003,">=01/04/2013")-COUNTIF('Data input'!C$4:C$1003,">=30/04/2013")
I get a return of '0' but on inputting today's date, where it should change to '1', I get nothing...
Any help appreciated
Bookmarks