Power Query Solution for total. Simple math for the other issue =COUNTIF(Table1[2024 Inspection],"<>"&"")/C31
Code:
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
#"Filtered Rows" = Table.SelectRows(Source, each ([2024 Inspection] <> null)),
#"Calculated Sum" = List.Sum(#"Filtered Rows"[Principle])
in
#"Calculated Sum"