trebor1956
Board Regular
- Joined
- Jul 2, 2015
- Messages
- 100
- Office Version
- 2013
- Platform
- Windows
I am trying to count the number of times "H" appears in a row if the date is less than or equal to today.
todays date is in cell A1, the row of dates are between R4:JR4, the letter "H" if present is in cells R4:JR4. The formula I use is
=COUNTIFS($R$4:$JR$4,"<="&$A$1,$R$4:$JR$4,"H")
I have just noticed that if there is an "H" under the date for today then this isn't added but an "H" in all dates prior to today are added. Any idea why this is?
todays date is in cell A1, the row of dates are between R4:JR4, the letter "H" if present is in cells R4:JR4. The formula I use is
=COUNTIFS($R$4:$JR$4,"<="&$A$1,$R$4:$JR$4,"H")
I have just noticed that if there is an "H" under the date for today then this isn't added but an "H" in all dates prior to today are added. Any idea why this is?