Hello,
I am fairly new to Excel and hoping someone can give me some advice on how to get a formula to work. I have been scratching my head for hours!
I am thinking a COUNTIFS formula would be the most appropriate.
I have column A which contains a fault code (e.g. KPT1.1, KPT1.2, KPT1.3 etc), column B which contains the date the fault occurred, and column C which contains a numerical value.
I need to create column D which counts how many times the fault code occurred in the last rolling 3 months with a numerical value higher than 0.
I am mainly struggle how to work out how to count the date occurrences in the COUNTIFS formula. something along the lines of:
=COUNTIFS(B:B,"<="&B6, B:B,">="&EDATE(B6,-3)) this obviously returns the wrong number (i feel like I'm halfway there!). I feel if i can get my head round this bit i should be able to sort the other parts of the formula.
Here is hoping someone can help.
Thank you very much.
I am fairly new to Excel and hoping someone can give me some advice on how to get a formula to work. I have been scratching my head for hours!
I am thinking a COUNTIFS formula would be the most appropriate.
I have column A which contains a fault code (e.g. KPT1.1, KPT1.2, KPT1.3 etc), column B which contains the date the fault occurred, and column C which contains a numerical value.
I need to create column D which counts how many times the fault code occurred in the last rolling 3 months with a numerical value higher than 0.
I am mainly struggle how to work out how to count the date occurrences in the COUNTIFS formula. something along the lines of:
=COUNTIFS(B:B,"<="&B6, B:B,">="&EDATE(B6,-3)) this obviously returns the wrong number (i feel like I'm halfway there!). I feel if i can get my head round this bit i should be able to sort the other parts of the formula.
Here is hoping someone can help.
Thank you very much.