Yes. To calculate percentages based on conditional formatting in Excel:
Create a conditional formatting rule for the range of cells you want to calculate percentages for.
Select the cell where you want the percentage to appear.
Type "=" followed by the formula for calculating percentages using the COUNTIF function (e.g., =COUNTIF(A1:A5,"="&condition)/COUNT(A1:A5)*100).
Press Enter to see the result.