G
Guest
I have a spreadsheet with two columns:
H contains dates and J contains x's.
The dates go from May to December. I have figured out the days that each
month starts and ends. So, I want to sum up all rows with an x and in between
two dates. For this, I have
=SUM(IF(All!J3:J214="x",IF(AND(DATE(YEAR(A48),MONTH(A48),DAY(M49))>=All!J3:J214,DATE(YEAR(A48),MONTH(A48),DAY(N49))<=All!J3:J214),"1","0")))
But that just gives 0. Any ideas?
-Benjamin
H contains dates and J contains x's.
The dates go from May to December. I have figured out the days that each
month starts and ends. So, I want to sum up all rows with an x and in between
two dates. For this, I have
=SUM(IF(All!J3:J214="x",IF(AND(DATE(YEAR(A48),MONTH(A48),DAY(M49))>=All!J3:J214,DATE(YEAR(A48),MONTH(A48),DAY(N49))<=All!J3:J214),"1","0")))
But that just gives 0. Any ideas?
-Benjamin