My first post - I see some amazing formulas here.
I feel like I am so close to achieving an outcome. I would like to acknowledge StarLux for getting me so close -
This formauila is currrenlty in cells G8 to G12 - =IF(COUNTIFS($B$3:$B$40,">="&$F$5,$B$3:$B$40,"<="&$G$5)=0,0,SUMPRODUCT((($D$3:$D$40=F8))/COUNTIFS($D$3:$D$40,$D$3:$D$40&"",$B$3:$B$40,$B$3:$B$40&"",$B$3:$B$40,">="&$F$5,$B$3:$B$40,"<="&$G$5)))
There are multiple entries for each plantation each day but I only want to count how many days in a set period the plantation name is mentioned regardless of the number of times it is mentioned each day, so from the image below "LAKE MUIR" is mentioned on 3 days (1st, 7th & 8th). Data will be added to this spreadsheet on a daily basis so ideally, I want the range to have a much bigger range but as soon as I extend the range so it covers other months I get an error. The results below are correct so the formula works but it cannot handle dates in column B not in the range in F5 & G5. I basically want all the references in the above formula to 40 to be 4000.
Thanks
Craig
I feel like I am so close to achieving an outcome. I would like to acknowledge StarLux for getting me so close -
This formauila is currrenlty in cells G8 to G12 - =IF(COUNTIFS($B$3:$B$40,">="&$F$5,$B$3:$B$40,"<="&$G$5)=0,0,SUMPRODUCT((($D$3:$D$40=F8))/COUNTIFS($D$3:$D$40,$D$3:$D$40&"",$B$3:$B$40,$B$3:$B$40&"",$B$3:$B$40,">="&$F$5,$B$3:$B$40,"<="&$G$5)))
There are multiple entries for each plantation each day but I only want to count how many days in a set period the plantation name is mentioned regardless of the number of times it is mentioned each day, so from the image below "LAKE MUIR" is mentioned on 3 days (1st, 7th & 8th). Data will be added to this spreadsheet on a daily basis so ideally, I want the range to have a much bigger range but as soon as I extend the range so it covers other months I get an error. The results below are correct so the formula works but it cannot handle dates in column B not in the range in F5 & G5. I basically want all the references in the above formula to 40 to be 4000.
Thanks
Craig