professor.x
New Member
- Joined
- Aug 24, 2011
- Messages
- 5
This is a formula that I have, but it's not quite doing what I want it to:
=IF($G$2:$G$100>DATE(YEAR(TODAY())-1,MONTH(TODAY()),DAY(TODAY())),COUNTIFS($H$2:$H$100,"Person A"),"")
I only want it to count the criteria only if the adjacent G cell is equal to or less than 1 year to today's date.
So it pretty has to be where a cell in column g is equal to or less than 1 year to today's date AND the adjacent h column equals the criteria set.
Any help is greatly appreciated.
=IF($G$2:$G$100>DATE(YEAR(TODAY())-1,MONTH(TODAY()),DAY(TODAY())),COUNTIFS($H$2:$H$100,"Person A"),"")
I only want it to count the criteria only if the adjacent G cell is equal to or less than 1 year to today's date.
So it pretty has to be where a cell in column g is equal to or less than 1 year to today's date AND the adjacent h column equals the criteria set.
Any help is greatly appreciated.