Your formula is syntactically sound therefore the issue is likely with your data. Did you copy and paste and/or change the formatting?
I suspect the problem is something like your times are now formatted as text strings, or your dates are actually dates and times.
Troubleshooting
- Identify a single row of data that you believe should be added. In other words, it meets the following 3 criteria:
- It has
time<>0
in Column N - It has
"name"="name of person"
in Column G - It has
date=TODAY()
in Column B.
- It has
- Use a formula to test your assumptions for that row in isolation from the rest of the data.
- For example, assuming you believe Row 5 meets all three criteria, the following formula will determine if your assumption is correct:
Based on the results of this test you may have an "aha""Aha!" moment or at least know where to focus your efforts.=IF(ISNUMBER('Annual Data'!N5), "✓ Time is a Number", "✘ Time isn't a Number!")& IF('Annual Data'!G5="name of person", " - ✓ Name Matches", " - ✘ Name doesn't Match!")& IF('Annual Data'!B5=TODAY(), " - ✓ Date Matches", " - ✘ Date isn't Today!")